Skip to main content

Module markers

Module markers 

Source
Expand description

Marker traits used by the macros to enforce query constraints.

These are generally implemented by derive/macros or driver integrations, not by hand.

Modules§

functions
Marker traits for built-in SQL functions.
operators
Marker traits for supported SQL operators.

Traits§

AllowsNoPrimaryKey
Marker for drivers that allow tables without a primary key.
HasTable
Indicates that a table type participates in the current query context.
HasTableJoined
Indicates that a joined table is optional and columns should be wrapped in Option.
NormalSelect
Marker for outputs without custom select arguments.
NotJoinedTable
Marker trait for tables that are not created via table_join!.
OutputData
Support trait providing fields information for query validation.
SupportsAutoIncrementCompositePrimaryKey
Marker for drivers that support auto-increment with composite primary keys.
SupportsMultipleAutoIncrementColumns
Marker for drivers that allow multiple auto-increment columns in a table.
ToConvertSingle
Marker for row types supported by query_lazy! streaming output.
WithArgsSelect
Marker for outputs that require custom select arguments.