Expand description
Driver-facing traits and helper types.
This module re-exports the low-level driver traits and capability markers used when
implementing a custom backend. Most application code will use the concrete drivers (like
[Postgres] or [Sqlite]) rather than these internals.
Modules§
- functions
- Marker traits for built-in SQL functions.
- operators
- Marker traits for supported SQL operators.
Macros§
- impl_
supports_ fn - Implement a built-in SQL function support marker for specific argument counts.
- impl_
supports_ fn_ any - Implement a built-in SQL function support marker for any argument count.
Structs§
- Alter
Table - Collection of alter-table operations for a single table.
- Table
Field - Column definition used by drivers to build tables and migrations.
Enums§
- Alter
Table Single - Single alter-table operation used by the migration procedural macros.
Traits§
- Allows
NoPrimary Key - Marker for drivers that allow tables without a primary key.
- Setup
Sql - Gives information about the SQL query to execute, and how to execute it with the provided executor. Used by setup structures.
- Supports
Auto Increment Composite Primary Key - Marker for drivers that support auto-increment with composite primary keys.
- Supports
Multiple Auto Increment Columns - Marker for drivers that allow multiple auto-increment columns in a table.