final class StatementFlags (View source)

Properties

bool $distinct

select ... DISTINCT .

bool $dropDatabase

drop ... DATABASE .

bool $group
bool $having
bool $isAffected

INSERT ... or REPLACE ... or DELETE .

bool $isAnalyse

select ... PROCEDURE ANALYSE( ... ) .

bool $isCount

select COUNT( ... ) .

bool deprecated $isDelete

DELETE .

bool deprecated $isExplain

EXPLAIN .

bool $isExport

select ... INTO OUTFILE .

bool $isFunc

select FUNC( ... ) .

bool $isGroup

select ... GROUP BY ... or select ... HAVING .

bool $isInsert

INSERT ... or REPLACE ... or LOAD DATA .

bool $isMaint

ANALYZE ... or CHECK ... or CHECKSUM ... or OPTIMIZE ... or REPAIR .

bool $isProcedure

CALL .

bool deprecated $isReplace

REPLACE .

bool deprecated $isSelect

SELECT .

bool deprecated $isShow

SHOW .

bool $isSubQuery

Contains a subquery.

bool $join
bool $limit
bool $offset TODO
bool $order
StatementType|null $queryType

The type of the statement (which is usually the first keyword).

bool $reload

Whether a page reload is required.

bool $selectFrom

SELECT ... FROM .

bool $union