Fan

 

abstract const class

sql::Dialect

sys::Obj
  sql::Dialect

Dialect encapsulates database specific behaviors for common database functions.

Slots

autoSource

virtual Str auto()

Get the db specific qualifier for a column whose value is automatically incremented for a new row. Default throws SqlErr.

getBlobTypeSource

abstract Str getBlobType(Int maxLen)

Get the database specific blob type for a blob with the specified maximum length.

getClobTypeSource

abstract Str getClobType(Int maxLen)

Get the database specific clob type for a clob with the specified maximum length.

maxIndexNameLengthSource

abstract Int maxIndexNameLength()

Get the maximum length for index names for the database type.

maxTableNameLengthSource

abstract Int maxTableNameLength()

Get the maximum length for table names for the database type.

notNullSource

virtual Str notNull()

Get the db specific qualifier for a column whose value cannot be null. Default is "NOT NULL".

uniqueSource

virtual Str unique()

Get the db specific qualifier for a unique column. Default is "UNIQUE".