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 forPostgreSQL. - delete
- insert
- prepared
- refresh
- REFRESH MATERIALIZED VIEW query builder for
PostgreSQL - select
- update
Structs§
- Builder
Init - CTEInit
- Delete
Initial - Marker for the initial state of
DeleteBuilder. - Delete
Returning Set - Marker for the state after RETURNING clause.
- Delete
Where Set - Marker for the state after WHERE clause.
- Insert
DoUpdate Set - Marker for the state after DO UPDATE SET (before optional WHERE).
- Insert
Initial - Marker for the initial state of
InsertBuilder. - Insert
OnConflict Set - Marker for the state after ON CONFLICT is set.
- Insert
Returning Set - Marker for the state after RETURNING clause is added.
- Insert
Values Set - Marker for the state after VALUES are set.
- Query
Builder - Main query builder for
PostgreSQL - SQL
- SQL fragment builder with flat chunk storage.
- Select
From Set - Marker for the state after FROM clause.
- Select
Group Set - Marker for the state after GROUP BY clause.
- Select
Initial - Marker for the initial state of
SelectBuilder. - Select
Join Set - Marker for the state after JOIN clause.
- Select
Limit Set - Marker for the state after LIMIT clause.
- Select
Offset Set - Marker for the state after OFFSET clause.
- Select
Order Set - Marker for the state after ORDER BY clause.
- Select
SetOp Set - Marker for the state after set operations (UNION/INTERSECT/EXCEPT).
- Select
Where Set - Marker for the state after WHERE clause.
- Update
Initial - Marker for the initial state of
UpdateBuilder. - Update
Returning Set - Marker for the state after RETURNING clause.
- Update
SetClause Set - Marker for the state after SET clause.
- Update
Where Set - Marker for the state after WHERE clause.
Enums§
- OrderBy
- Sort direction for ORDER BY clauses
Traits§
- Executable
State - Marker trait for executable builder states.
- SQLSchema
- Trait for schema elements (tables, columns, etc.).
- SQLTable
- SQLView
Info - Metadata information about a database view.
- ToSQL
- Trait for types that can be converted to SQL fragments.