Module databases/mysql5
Dialect implementation for MySQL databases
See
Functions
- addSqlLimit(sqlBuf, limit)
- addSqlOffset(sqlBuf, offset)
- addSqlRange(sqlBuf, offset, limit)
- getBooleanValue(value)
- getEngineType()
Properties
addSqlLimit (sqlBuf, limit)
Extends the SQL statement passed as argument with a limit restriction
Parameters
Array | sqlBuf | The SQL statement |
Limit | limit | The limit |
addSqlOffset (sqlBuf, offset)
Extends the SQL statement passed as argument with an offset restriction
Parameters
Array | sqlBuf | The SQL statement |
Number | offset | The offset |
addSqlRange (sqlBuf, offset, limit)
Extends the SQL statement passed as argument with a range restriction
Parameters
Array | sqlBuf | The SQL statement |
Number | offset | The offset |
Limit | limit | The limit |
closeQuote
Contains the closing quote character used for quoting table/column names
getBooleanValue (value)
Returns the boolean value for the value passed as argument
Parameters
Object | value | The value |
Returns
Boolean | The boolean value |
getEngineType ()
Returns the engine type to use for tables
Returns
String | The engine type ("INNODB") |
openQuote
Contains the opening quote character used for quoting table/column names