class MysqlDataSQLBuilder extends DataSQLBuilder
MySQL class for building data dump SQL.
Methods
static |
reset()
Performs any reset between runs of this builder. |
from DataSQLBuilder |
static string |
getDatabaseStartSql()
Returns any SQL to place at the start of all the row inserts. |
from DataSQLBuilder |
static string |
getDatabaseEndSql()
Returns any SQL to place at the end of all the row inserts. |
from DataSQLBuilder |
string |
getTableStartSql()
Returns any SQL to place before row inserts for a new table. |
from DataSQLBuilder |
string |
getTableEndSql()
Returns any SQL to place at the end of row inserts for a table. |
from DataSQLBuilder |
string |
buildRowSql(DataRow $row)
The main method in this class, returns the SQL for INSERTing data into a row. |
from DataSQLBuilder |
string |
getTimestampSql(string $value)
Returns a representation of a timestamp value suitable for use in a SQL statement. |
from DataSQLBuilder |
Details
in DataSQLBuilder at line 29
static public
reset()
Performs any reset between runs of this builder.
This can be used, for example, to clear any stored start/end SQL.
in DataSQLBuilder at line 39
static public string
getDatabaseStartSql()
Returns any SQL to place at the start of all the row inserts.
in DataSQLBuilder at line 49
static public string
getDatabaseEndSql()
Returns any SQL to place at the end of all the row inserts.
in DataSQLBuilder at line 59
public string
getTableStartSql()
Returns any SQL to place before row inserts for a new table.
in DataSQLBuilder at line 69
public string
getTableEndSql()
Returns any SQL to place at the end of row inserts for a table.
in DataSQLBuilder at line 81
public string
buildRowSql(DataRow $row)
The main method in this class, returns the SQL for INSERTing data into a row.
in DataSQLBuilder at line 266
public string
getTimestampSql(string $value)
Returns a representation of a timestamp value suitable for use in a SQL statement.