Skip to main content

Module sql

Module sql 

Source

Structs§

ColumnFlags
Packed column metadata flags for ColumnRef.
ColumnRef
Column reference with full schema metadata.
ColumnSqlRef
Column fields needed by SQL rendering.
ConstraintRef
Constraint reference as a const Copy struct.
ForeignKeyRef
Foreign key reference as a const Copy struct.
OwnedSQL
Owned version of SQL with ’static lifetime
PrimaryKeyRef
Primary key reference as a const Copy struct.
SQL
SQL fragment builder with flat chunk storage.
TableRef
Table reference with full schema metadata.
TableSqlRef
Table fields needed by SQL rendering.

Enums§

ColumnDialect
Dialect-specific column metadata. Const-compatible enum grouping fields that only apply to one dialect.
OwnedSQLChunk
Owned version of SQLChunk with ’static lifetime
SQLChunk
A SQL chunk represents a part of an SQL statement.
TableDialect
Dialect-specific table metadata.
Token

Functions§

comment
Attach a free-form sqlcommenter comment to a query.
comment_tags
Attach a tag-style sqlcommenter comment to a query.
write_quoted_ident
Writes a SQL identifier enclosed in double quotes.