Crate toql_core

Source

Re-exports§

pub use tracing;

Modules§

alias_format
Alias format for different table aliases.
alias_translator
Translate a canonical table alias into another AliasFormat format.
backend
Toql Api implementations that are database independend
cache
Cache to lookup static table information and SQL statements.
deserialize
Deserialize Error
error
Error handling.
field_handler
A FieldHandler may modify a mapped column or expression.
from_iterator
Collect keys and structs that implement Into<Query> into Query.
from_row
Trait to convert result row into structs.
identity
Identity trait.
join
Join enum to simplify update handling of joins.
join_handler
A JoinHandler may modify an ON condition in a join clause.
join_macro
Convenience macros to work with the Join type.
key
Table mapping information for keys.
key_fields
Toql query field information for keys.
keyed
Traits to access and change the key of a Toql derived struct.
log_macro
Macros for backends to log SQL statements and TOQL queries in a common way
map_key
An iterator that maps entities into keys.
mock_db
The Toql Mock Db provides a dummy database that can be used for testing or documentation examples.
none_error_macro
page
Page is used as an argument in load functions.
page_counts
Return type of load_page method.
parameter_map
Combines multiple aux parameters in a lightweight way.
predicate_handler
A PredicateHandler may modify a mapped column or expression.
query
The Query represents a Toql query but also comes with query builder methods.
query_fields
Trait to associate a field type provider with a struct.
query_parser
The query parser can turn a string that follows the Toql query syntax into a Query.
query_path
Trait to associate a field type provider with a struct.
result
A result with a ToqlError.
role_expr
A boolean role expression that can be evaluated.
role_validator
Validate a RoleExpr.
sql
A raw SQL statement.
sql_arg
An argument for SQL expressions.
sql_builder
The SQL builder can build different select statements.
sql_expr
SQL expression than can be resolved into raw SQL.
table_mapper
Translate Toql query fields to database columns, SQL expressions, joins and merges.
table_mapper_registry
A registry for all table mappers.
toql_api
The common interface for all database backends.
tree
Traits to do operations on nested structs.
val_macro
Convenience macros to work with the Option type.

Macros§

join
log_literal_sql
log_mut_literal_sql
log_mut_sql
log_sql
log_toql
none_error
ok_or_fail
row
row macro for easier row creation
rval
rval_join
val