Expand description
sqly is a lightweight macro system on top of sqlx.
See the README for additional information, Installation and Features.
See #[derive(Table)] to browse the documentation or follow the chapters in the examples.
Re-exports§
pub use sqlx;
Modules§
- derive
- Imports.
- docs
- Documentation.
- double_
option - Utility module for serde.
Macros§
- query
- Under development.
- query_
as - Under development.
- query_
as_ unchecked - Under development.
- query_
scalar - Under development.
- query_
scalar_ unchecked - Under development.
- query_
unchecked - Under development.
Traits§
- Check
- A
Tablewhich has its columns checked at compile time. - Delete
- A type which can delete rows from a table.
- Delete
Check - A type which has its
Deletequery checked at compile time. - Delete
Impl - A type which can delete rows from a table.
- Flat
- A
Tablewith a flattened representation. - Insert
- A type which can insert rows into a table.
- Insert
Check - A type which has its
Insertquery checked at compile time. - Insert
Impl - A type which can insert rows into a table.
- Select
- A type which can select rows from a table.
- Select
Check - A type which has its
Selectquery checked at compile time. - Select
Impl - A type which can select rows from a table.
- Table
- A type which represents a database table.
- Update
- A type which can update rows in a table.
- Update
Check - A type which has its
Updatequery checked at compile time. - Update
Impl - A type which can update rows in a table.
Derive Macros§
- Delete
- Applied to types which are defined to delete rows from a table.
- Insert
- Applied to types which are defined to insert rows into a table.
- Select
- Applied to types which are defined to select rows from a table.
- Table
- Applied to types which are defined to represent a database table.
- Update
- Applied to types which are defined to update rows in a table.