Docs.rs
sqlx-crud-0.4.0
sqlx-crud 0.4.0
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
treydempsey
Dependencies
futures ^0.3
normal
sqlx ^0.6
normal
sqlx-crud-macros ^0.4
normal
thiserror ^1
normal
sqlx ^0.6
dev
tokio-test ^0
dev
Versions
67.65%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
sqlx_
crud
0.4.0
Module traits
Module Items
Traits
Type Aliases
In crate sqlx_
crud
sqlx_crud
Module
traits
Copy item path
Source
Traits
§
Crud
Common Create, Read, Update, and Delete behaviors. This trait requires that
Schema
and
FromRow
are implemented for Self.
Schema
Database schema information about a struct implementing sqlx
FromRow
.
Schema
defines methods for accessing the derived database schema and query information.
Type Aliases
§
CrudFut
Type alias for methods returning a single element. The future resolves to and
Result<T, sqlx::Error>
.
Crud
Stream
Type alias for a
Stream
returning items of type
Result<T, sqlxError>
.
TryCollect
Fut
Type alias for a
TryCollect
future that resolves to
Result<Vec<T>, sqlx::Error>
.