StatementType

Possible SQL statement types, most often represented by the leading word in the command syntax.

Entries

Link copied to clipboard

A SELECT statement to query data.

Link copied to clipboard

An INSERT statement to insert new records.

Link copied to clipboard

An UPDATE statement to modify existing records.

Link copied to clipboard

A DELETE statement to delete existing records.

Link copied to clipboard

A GRANT statement to provide privileges on database objects.

Link copied to clipboard

A CREATE statement to create database objects.

Link copied to clipboard

An ALTER statement to modify database objects.

Link copied to clipboard

A TRUNCATE statement to delete data in a database object.

Link copied to clipboard

A DROP statement to delete database objects.

Link copied to clipboard

An EXEC statement to execute a stored procedure or command.

Link copied to clipboard

A PRAGMA statement to configure or query the internal database state.

Link copied to clipboard

A SHOW statement to provide information about database objects.

Link copied to clipboard

Represents multiple statements of mixed types concatenated in a single string.

Link copied to clipboard

Represents statements not covered by existing constants.

Link copied to clipboard

A MERGE statement to insert, update, or delete values by comparing data between source and destination tables.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

The StatementGroup associated with the SQL statement.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.