scooby/postgres.rs
1//! Implementation of PostgreSQL dialect of SQL, including some PostgreSQL specific features and tools.
2//!
3//! # Supported statements
4//!
5//! See each function's docs for details on supported clauses and features.
6//!
7//! | Entry function   | SQL statement                          |
8//! |------------------|----------------------------------------|
9//! | [`select`]       | `SELECT`                               |
10//! | [`from`]         | `SELECT` (starting from `FROM` clause) |
11//! | [`insert_into`]  | `INSERT INTO`                          |
12//! | [`delete_from`]  | `DELETE FROM`                          |
13//! | [`update`]       | `UPDATE`                               |
14//! | [`with`]         | `WITH`                                 |
15//! | [`create_table`] | `CREATE TABLE`                         |
16//!
17//! # Tools
18//!
19//! | Tool           | Description                                   |
20//! |----------------|-----------------------------------------------|
21//! | [`Parameters`] | Generator of statement parameter placeholders |
22//!
23pub mod general;
24pub mod statements;
25pub mod tools;
26
27pub use general::{with, Aliasable};
28pub use statements::{
29    create_table, delete_from, from, insert_into, select, update, ColumnDefinitionable,
30    CreateTable, DeleteFrom, FromSelectBuilder, InsertInto, Joinable, Orderable, Select, Update,
31};
32pub use tools::Parameters;