MySQLDialect

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

closeQuote
char closeQuote()

The character specific to this dialect used to close a quoted identifier.

getColumnTypeDefinition
string getColumnTypeDefinition(PropertyInfo pi, PropertyInfo overrideTypeFrom)
Undocumented in source. Be warned that the author may not have intended to support it.
openQuote
char openQuote()

The character specific to this dialect used to begin a quoted identifier.

Inherited Members

From Dialect

getColumnTypeDefinition
string getColumnTypeDefinition(PropertyInfo pi, PropertyInfo overrideTypeFrom)
Undocumented in source.
getColumnDefinition
string getColumnDefinition(PropertyInfo pi)
Undocumented in source. Be warned that the author may not have intended to support it.
closeQuote
char closeQuote()

The character specific to this dialect used to close a quoted identifier.

openQuote
char openQuote()

The character specific to this dialect used to begin a quoted identifier.

quote
string quote(string name)

Apply dialect-specific quoting (for quoted identifier, replace backtick quotes with dialect specific)

needQuote
bool needQuote(string ident)
Undocumented in source. Be warned that the author may not have intended to support it.
quoteIfNeeded
string quoteIfNeeded(string ident)
Undocumented in source. Be warned that the author may not have intended to support it.
keywordList
int[string] keywordList;
Undocumented in source.
addKeywords
void addKeywords(string[] keywords)
Undocumented in source. Be warned that the author may not have intended to support it.
getDropIndexSQL
string getDropIndexSQL(string tableName, string indexName)
Undocumented in source. Be warned that the author may not have intended to support it.
getDropForeignKeySQL
string getDropForeignKeySQL(string tableName, string indexName)
Undocumented in source. Be warned that the author may not have intended to support it.
getIndexSQL
string getIndexSQL(string tableName, string indexName, string[] columnNames)
Undocumented in source. Be warned that the author may not have intended to support it.
getUniqueIndexSQL
string getUniqueIndexSQL(string tableName, string indexName, string[] columnNames)
Undocumented in source. Be warned that the author may not have intended to support it.
getForeignKeySQL
string getForeignKeySQL(string tableName, string indexName, string[] columnNames, string referencedTableName, string[] referencedFieldNames)
Undocumented in source. Be warned that the author may not have intended to support it.
getCheckTableExistsSQL
string getCheckTableExistsSQL(string tableName)
Undocumented in source. Be warned that the author may not have intended to support it.
getUniqueIndexItemSQL
string getUniqueIndexItemSQL(string indexName, string[] columnNames)
Undocumented in source. Be warned that the author may not have intended to support it.
appendInsertToFetchGeneratedKey
string appendInsertToFetchGeneratedKey(string query, EntityInfo entity)

for some of RDBMS it's necessary to pass additional clauses in query to get generated value (e.g. in Postgres - " returing id"

createFieldListSQL
string createFieldListSQL(string[] fields)

returns comma separated quoted identifier list in () parenthesis

getStringQuoteChar
char getStringQuoteChar()
Undocumented in source. Be warned that the author may not have intended to support it.
quoteSqlString
string quoteSqlString(string s)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta