Expand description
sea-query’s statements as queries the SQL is written into.
A SelectStatement, UpdateStatement or DeleteStatement (sea-orm’s,
through QueryTrait::query), rendered for Postgres, MySQL/MariaDB or SQLite
by sea-query.
The data becomes sea-query expressions rather than SQL text: conditions one
Condition (all for AND, any for OR) added with cond_where,
which writes the WHERE itself; sort keys order_by; a page limit and
offset; assignments value. sea-query binds every value and quotes the
column names.
Public as queryweave_sql::sea_query: check_column_types, which checks
a SeaORM entity’s column types against a model’s value types.
Structs§
- Column
Type Mismatch - A domain field whose value does not fit its column; see
check_column_types.
Enums§
- Mismatch
Reason - Why a domain field’s value does not fit its column.
Functions§
- accepted_
kinds - The value types a column of
column_typetakes;Nonefor a custom type, which is not checked. - check_
column_ types - Check that the value of every field of the model
Mfits its column on the entityC.