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.
- blobTypeSource
-
virtual Str blobType(Int maxLen)
Get the database specific blob type for a blob with the specified maximum length. Default is "BLOB".
- clobTypeSource
-
virtual Str clobType(Int maxLen)
Get the database specific clob type for a clob with the specified maximum length. Default is "TEXT".
- maxIndexNameSizeSource
-
virtual Int maxIndexNameSize()
Get the maximum length for index names for the database type. Default is 64.
- maxTableNameSizeSource
-
virtual Int maxTableNameSize()
Get the maximum length for table names for the database type. Default is 64.
- 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".