Expand description
A typesafe, async, and database-agnostic query builder for Rust.
Besu is in early development and is not ready for public use!
§Drivers/Dialects
- besu-mysql for MySQL support.
- besu-sqlite for SQLite support.
- besu-postgres for PostgreSQL support.
Macros§
- sql
- A macro for constructing an SQL query with escaped arguments.
Structs§
- Database
- The database instance.
- Delete
- Builder for an SQL
DELETE
operation. - Delete
Operation - Represents an SQL
DELETE
operation. - Execute
- Builder for an raw SQL query.
- Insert
- Builder for an SQL
INSERT
operation. - Insert
Operation - Represents an SQL
INSERT
operation. - Select
- Builder for an SQL
SELECT
operation. - Select
Operation - Represents an SQL
SELECT
operation. - Update
- Builder for an SQL
UPDATE
operation. - Update
Operation - Represents an SQL
UPDATE
operation.
Traits§
- Arguments
- A trait for decoding a generic set of SQL arguments into a driver-specific format.
- Column
- The definition of a database column.
- Decode
Row - A trait for decoding a row from a database.
- Decode
Value - A trait for decoding a value from a database.
- Dialect
- A dialect implements the SQL syntax for a specific database kind.
- Driver
- A driver implements the database execution logic.
- Encode
Argument - A trait for encoding arguments into a driver-specific format.
- Table
- The definitions of a database table.
Derive Macros§
- Table
derive
- TODO