Crate rusql_alchemy
source ·Re-exports§
pub use db::models::PLACEHOLDER;
pub use db::models::PLACEHOLDER;
Modules§
- This module contains the database-related functionality. The
db
module provides functionality for interacting with the database. - This module contains the prelude for the crate.
- This module contains the custom types used in the crate.
Macros§
- A macro to create a vector of
Condition::FieldCondition
for different comparison operators. - A macro to run the
migrate
function for multiple structs asynchronously.
Structs§
- Represents a database.
Functions§
- Retrieves a placeholder for SQL queries based on the
DATABASE_URL
environment variable. - Returns the name of the type
T
as a string. - Converts a value into a JSON string.
Type Aliases§
- Alias for the database connection pool.