Creates SQL
queries with integrity in mind
An IN(...items)
operator
The QRY
instance chain
An EXISTS(QRY)
operator
The QRY
instance chain
A =
operator
The QRY
instance chain
A <>
operator
The QRY
instance chain
A >
operator
The QRY
instance chain
A <
operator
The QRY
instance chain
A >=
operator
The QRY
instance chain
A <=
operator
The QRY
instance chain
A LIKE
operator
The QRY
instance chain
A REGEXP
operator
The QRY
instance chain
A RLIKE
operator
The QRY
instance chain
A BETWEEN
operator
The QRY
instance chain
A IS
operator
The QRY
instance chain
A NOT
operator
The QRY
instance chain
Begin a SELECT
statement
The QRY
instance chain
Begin a INSERT
statement
The table recieving INSERTS
The columns recieving VALUES
The QRY
instance chain
Begin a UPDATE
statement
The table recieving UPDATES
An optional identifer
and database
for the table
The QRY
instance chain
Begin a DELETE
statement
The QRY
instance chain
Designate VALUES
of which to INSERT
The VALUES
lists for each INSERT
The QRY
instance chain
Designate columns and values of which to UPDATE
An object of columns
and the values
they'll be SET
to
The QRY
instance chain
Designate first table the query pertains to
The name of the FROM
table, or a QRY
object
The AS
identifier; if needed
The database of this table; if needed
The QRY
instance chain
Designate any a table to JOIN
in the query
The type of JOIN
(INNER|LEFT|RIGHT|FULL)
The name of the JOIN
table, or a QRY
object
The AS
identifier; if needed
The JOIN
condition; if needed
The database of this table; if needed
The QRY
instance chain
Designate a table UNION
in the query
If true; this will be UNION ALL
(removes duplicate)
The QRY
instance chain
The WHERE
clause
The left side of the clause
The operator to judge the clause by
The right side of the clause
The QRY
instance chain
An AND
clause
The left side of the clause
The operator to judge the clause by
The right side of the clause
The QRY
instance chain
An OR
clause
The left side of the clause
The operator to judge the clause by
The right side of the clause
The QRY
instance chain
An ON
clause
The left side of the clause
The operator to judge the clause by
The right side of the clause
The QRY
instance chain
A GROUP BY
statement
The columns to GROUP BY
The QRY
instance chain
An ORDER BY
statement
The columns to ORDER BY
The QRY
instance chain
A LIMIT
for the query
The amount to LIMIT
the query by
The QRY
instance chain
An OFFSET
for a LIMIT
The OFFSET
to start the LIMIT
at
The QRY
instance chain
The raw arguments used for formatting
A formatted query-string
A collapsed query-string
A formatted query-string with color
Yields an Array
of formatted exmaples
An Array
of formatted exmaples
Creates
SQL
queries with integrity in mind