Skip to main content

Module table

Module table 

Source
Expand description

Table<T, E>: a record collection with columns, conditions, ordering and pagination, over a TableSource T and an entity E. A source that also implements query or select sources unlocks the extra methods under impls. Type erasure for cross-driver work lives in vantage-vista.

Re-exports§

pub use base::*;
pub use hooks::*;
pub use audit::*;
pub use id_generator::*;
pub use inject::*;
pub use impls::*;
pub use sets::*;

Modules§

audit
Auto-stamping of audit timestamps on write.
base
hooks
Lifecycle hooks attached to a Table.
id_generator
Auto-generation of record ids on insert.
impls
inject
The build injector: a hook a vista factory runs on every table it builds from a spec — the root, each reference target and each base: table — after the table is built and before it is wrapped. It may add conditions and register hooks, or fail the build.
sets

Functions§

retain_matching
Keep the rows that match every (field, wanted) equality filter, for a backend that filters fetched rows in memory.