Module scooby::postgres::statements
source · Expand description
Specific statement related functions, types and traits.
Most likely you want documentation for the main module.
Structs
- Bare
INSERT INTO
statement without a validVALUES
clause specified - Bare
UPDATE
statement without aSET
clause specified DELETE FROM
statement, possibly with additional clauses.- Intermediate structure to build a
SELECT
statement starting from aFROM
clause INSERT INTO
statement with aVALUES
clause, and possibly additional clauses.- Intermediate structure to ensure one cannot build an
INSERT INTO
statement with columns, but without values - Intermediate structure to ensure that an action for an
ON CONFLICT
clause is specified: ORDER BY
clause forSELECT
statementsSELECT
statement, possibly with additional clauses.UPDATE
statement with at least one set of values, and possibly additional clauses.
Traits
- Things that can be
JOIN
’d upon - Things that can have
ORDER BY
clause options applied to them - Marker trait for implemenations of different kinds of
VALUES
clauses forINSERT INTO
statements
Functions
- Create a new
DELETE FROM
statement with the given table name. - An alternative way to create
SELECT
statements, starting from theFROM
clause for convenience. - Start building a new
INSERT INTO
statement with the given table name. - Create a new
SELECT
statement with given expressions. - Start building a new
UPDATE
statement with the given table name.