Skip to main content

Module dialect

Module dialect 

Source
Expand description

SQL dialect markers and the Dialect trait.

Each supported database is represented by a zero-sized marker type (MySql, Postgres, Sqlite) implementing Dialect. The trait exposes the dialect-specific bits the builder needs: the identifier quote character, placeholder syntax, and whether RETURNING is supported.

Structs§

MySql
MySQL dialect marker.
Postgres
PostgreSQL dialect marker.
Sqlite
SQLite dialect marker.

Enums§

UpsertStyle
How a dialect expresses an upsert (INSERT … ON CONFLICT).

Traits§

Dialect
Compile-time description of a SQL dialect.