Skip to main content

Crate sqly

Crate sqly 

Source
Expand description

sqly is a lightweight macro system on top of sqlx.

See the README for additional information, Installation and Features.

github-comcrates-iodocs-rs


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 Table which has its columns checked at compile time.
Delete
A type which can delete rows from a table.
DeleteCheck
A type which has its Delete query checked at compile time.
DeleteImpl
A type which can delete rows from a table.
Flat
A Table with a flattened representation.
Insert
A type which can insert rows into a table.
InsertCheck
A type which has its Insert query checked at compile time.
InsertImpl
A type which can insert rows into a table.
Select
A type which can select rows from a table.
SelectCheck
A type which has its Select query checked at compile time.
SelectImpl
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.
UpdateCheck
A type which has its Update query checked at compile time.
UpdateImpl
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.