Skip to main content

Module builder

Module builder 

Source

Re-exports§

pub use cte::CTEDefinition;
pub use cte::CTEView;
pub use insert::OnConflictBuilder;
pub use refresh::RefreshConcurrently;
pub use refresh::RefreshInitial;
pub use refresh::RefreshMaterializedView;
pub use refresh::RefreshWithNoData;
pub use refresh::refresh_materialized_view;
pub use select::SelectForSet;
pub use update::UpdateFromSet;

Modules§

cte
Common Table Expression (CTE / WITH) support for PostgreSQL.
delete
insert
prepared
refresh
REFRESH MATERIALIZED VIEW query builder for PostgreSQL
select
update

Structs§

BuilderInit
CTEInit
DeleteInitial
Marker for the initial state of DeleteBuilder.
DeleteReturningSet
Marker for the state after RETURNING clause.
DeleteWhereSet
Marker for the state after WHERE clause.
InsertDoUpdateSet
Marker for the state after DO UPDATE SET (before optional WHERE).
InsertInitial
Marker for the initial state of InsertBuilder.
InsertOnConflictSet
Marker for the state after ON CONFLICT is set.
InsertReturningSet
Marker for the state after RETURNING clause is added.
InsertValuesSet
Marker for the state after VALUES are set.
QueryBuilder
Main query builder for PostgreSQL
SQL
SQL fragment builder with flat chunk storage.
SelectFromSet
Marker for the state after FROM clause.
SelectGroupSet
Marker for the state after GROUP BY clause.
SelectInitial
Marker for the initial state of SelectBuilder.
SelectJoinSet
Marker for the state after JOIN clause.
SelectLimitSet
Marker for the state after LIMIT clause.
SelectOffsetSet
Marker for the state after OFFSET clause.
SelectOrderSet
Marker for the state after ORDER BY clause.
SelectSetOpSet
Marker for the state after set operations (UNION/INTERSECT/EXCEPT).
SelectWhereSet
Marker for the state after WHERE clause.
UpdateInitial
Marker for the initial state of UpdateBuilder.
UpdateReturningSet
Marker for the state after RETURNING clause.
UpdateSetClauseSet
Marker for the state after SET clause.
UpdateWhereSet
Marker for the state after WHERE clause.

Enums§

OrderBy
Sort direction for ORDER BY clauses

Traits§

ExecutableState
Marker trait for executable builder states.
SQLSchema
Trait for schema elements (tables, columns, etc.).
SQLTable
SQLViewInfo
Metadata information about a database view.
ToSQL
Trait for types that can be converted to SQL fragments.