Skip to main content

Crate rustrails_record

Crate rustrails_record 

Source
Expand description

ActiveRecord-style persistence and querying on top of SeaORM.

Re-exports§

pub use base::Record;
pub use base::RecordError;
pub use base::RecordState;
pub use connection::ConnectionError;
pub use connection::ConnectionPool;
pub use connection::establish;
pub use querying::OrderDirection;
pub use relation::Relation;
pub use sync_persistence::Persistence;
pub use sync_querying::Querying;

Modules§

associations
Association helpers.
base
Base record traits and errors.
callbacks
Callback integration points.
connection
Database connection management.
counter_cache
Counter cache helpers.
delegated_type
Delegated type helpers.
dirty
Record-level dirty tracking helpers.
encryption
Attribute encryption helpers.
enum_type
Enum-backed column helpers.
fixtures
Fixture loading support.
inheritance
Single-table inheritance helpers.
insert_all
Bulk insert and upsert helpers.
locking
Locking primitives. Record locking primitives.
migration
Schema migration helpers.
nested_attributes
Nested-attribute assignment helpers.
no_touching
Touch suppression helpers.
normalization
Attribute normalization helpers.
persistence
Persistence behavior for records.
query_cache
Per-request query cache helpers.
querying
Query helpers for records.
readonly_attributes
Readonly attribute helpers.
reflection
Association reflection helpers.
relation
Chainable relation builder.
sanitization
SQL sanitization helpers.
schema
Schema introspection helpers.
scoping
Default scope helpers.
secure_token
Secure token helpers.
serialization_ext
Attribute serialization helpers.
signed_id
Signed record identifier helpers.
store
JSON-backed store helpers.
strict_loading
Strict-loading helpers.
sync_persistence
Sync wrappers for persistence operations.
sync_querying
Sync wrappers for query operations.
timestamp
Timestamp behavior.
touch
Touch helpers.
transactions
Transaction helpers.
validations
Record-level validations.