Expand description
Rorm is a rust orm.
Re-exports
pub use crate::internal::field::access::FieldAccess;
pub use crate::model::Model;
pub use crate::model::Patch;
Modules
- Aggregation functions
- cli
cli
Re-export of rorm-cli - A high-level generic condition tree
- Re-exported for use in parser structs of user This modules holds the definition of the configuration used by [rorm-cli]
- This module holds the CRUD interface.
- Re-export of rorm-db
- All types valid as model fields and traits to make them valid.
- This module is not considered public api.
- This module holds traits and structs for working with models
- A prelude of common types, traits and derive macros that are used by
rorm
Macros
- Combine several Conditions into a single one using “AND”.
- Create a DELETE query.
- Get the type for a model’s field
- Create an INSERT query.
- Combine several Conditions into a single one using “OR”.
- Create a SELECT query.
- Put this macro inside a trait to seal it i.e. prevent extern implementations.
- Create a UPDATE query.
Structs
- Main API wrapper.
- Configuration to create a database connection.
- Represents a single row from the database.
Enums
- The representation of all supported DB drivers
- Error type to simplify propagating different error types.
Functions
- Prints all models in the Intermediate Model Representation to stdout. This should be used as a main function to produce the file for the migrator.
- Write all models in the Intermediate Model Representation to a writer.
Attribute Macros
- This attribute is put on your main function.