StatementExceptionReason

Represents specific reasons for a SQL statement execution failure.

Entries

Link copied to clipboard

The statement contains a syntax error.

Link copied to clipboard

The statement leaves something open where the driver's own parser needed it closed - a string or identifier quote, a dollar-quoted body, a multi-line comment. details names which, and position points at where it began.

Link copied to clipboard

An object's definition or current state does not permit what was asked of it.

Link copied to clipboard

The statement references a table, column, function or type that does not exist.

Link copied to clipboard

The statement creates an object under a name that is already taken.

Link copied to clipboard

A name in the statement matches more than one candidate; qualify it.

Link copied to clipboard

A value's type does not fit where it was used, and no implicit cast applies.

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
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.