Skip to main content

sqlite_diff_rs/
builders.rs

1//! Builder for constructing changesets and patchsets.
2
3mod change;
4mod delete_operation;
5#[cfg(feature = "diesel-async")]
6mod diesel_async_query;
7#[cfg(feature = "diesel")]
8mod diesel_query;
9mod format;
10mod insert_operation;
11mod operation;
12pub mod sql;
13mod sql_output;
14mod update_operation;
15mod view;
16
17pub use change::{ChangeSet, DiffOps, DiffSet, DiffSetBuilder, PatchSet};
18pub use delete_operation::{ChangeDelete, PatchDelete};
19#[cfg(feature = "diesel-async")]
20pub use diesel_async_query::ApplyOpsAsync;
21#[cfg(feature = "diesel")]
22pub use diesel_query::{
23    Adapter, ApplyOps, Binder, BoundChangesetOp, BoundOp, BoundPatchsetOp, DefaultBinder,
24};
25pub(crate) use format::Format;
26pub use format::{ChangesetFormat, PatchsetFormat};
27pub use insert_operation::Insert;
28pub(crate) use operation::Operation;
29pub use operation::{Indirect, Reverse};
30pub use sql_output::ColumnNames;
31pub use update_operation::Update;
32pub use view::{ChangesetOp, ChangesetUpdatePair, PatchsetOp, PatchsetUpdateEntry};