Skip to main content

Module builders

Module builders 

Source
Expand description

Builder for constructing changesets and patchsets.

Modules§

sql
Simplified SQL parser for changeset/patchset operations.

Structs§

ChangeDelete
Represents a delete operation in changeset format.
ChangesetFormat
Changeset format marker.
DiffSet
A frozen changeset or patchset whose rows are emitted in stored order.
DiffSetBuilder
Builder for constructing changeset or patchset binary data.
Insert
Builder for an insert operation.
PatchDelete
Represents a delete operation in patchset format.
PatchsetFormat
Patchset format marker.
Update
Builder for an update operation, parameterized by the format type F and value types S, B.

Enums§

ChangesetOp
View over one operation in a changeset.
PatchsetOp
View over one operation in a patchset.

Traits§

ColumnNames
Trait for tables that can provide column names by index.
DiffOps
Trait for adding DML operations (INSERT, DELETE, UPDATE) to a diff set.
Indirect
Builders that carry the SQLite session-extension indirect-change flag.
Reverse
Trait for reversing operations.

Type Aliases§

ChangeSet
Type alias for building changesets.
ChangesetUpdatePair
(old, new) value pair stored per column in a changeset UPDATE. Either slot may be None, which means the column was not part of the diff.
PatchSet
Type alias for building patchsets.
PatchsetUpdateEntry
Entry stored per column in a patchset UPDATE: a unit (the format does not carry the old value) plus the new value (or None for unchanged columns).