CloneableInstantiable
Constants |
public Druidfi |
Properties |
public array $mysqlTypes = ['numerical' => ['bit', 'tinyint', 'smallint', 'mediumint', 'int', 'integer', 'bigint', 'real', 'double', 'float', 'decimal', 'numeric'], 'blob' => ['tinyblob', 'blob', 'mediumblob', 'longblob', 'binary', 'varbinary', 'bit', 'geometry', 'point', 'linestring', 'polygon', 'multipoint', 'multilinestring', 'multipolygon', 'geometrycollection']] |
Methods |
public __construct(PDO $conn, Druidfi |
public addDropDatabase(string $databaseName) : string |
public addDropTrigger(string $triggerName) : string |
public backupParameters() : string |
public commitTransaction() : string |
public createEvent(array $row) : string
|
public createFunction(array $row) : string
|
public createProcedure(array $row) : string
|
public createTable(array $row) : string
|
public createTrigger(array $row) : string
|
public createView(array $row) : string
|
public databases(string $databaseName) : string |
public dropTable(string $tableName) : string |
public dropView(string $viewName) : string |
public endAddDisableKeys(string $tableName) : string |
public endAddLockTable(string $tableName) : string |
public endDisableAutocommit() : string |
public getDatabaseHeader(string $databaseName) : string |
public getVersion() : string |
public lockTable(string $tableName) : string |
public parseColumnType(array $colType) : array Decode column metadata and fill info structure. type, is_numeric and is_blob will always be available.
|
public restoreParameters() : string |
public setupTransaction() : string |
public showColumns(string $tableName) : string |
public showCreateEvent(string $eventName) : string |
public showCreateFunction(string $functionName) : string |
public showCreateProcedure(string $procedureName) : string |
public showCreateTable(string $tableName) : string |
public showCreateTrigger(string $triggerName) : string |
public showCreateView(string $viewName) : string |
public showEvents(string $databaseName) : string Get query string to ask for names of events from current database. |
public showFunctions(string $databaseName) : string |
public showProcedures(string $databaseName) : string |
public showTables(string $databaseName) : string |
public showTriggers(string $databaseName) : string |
public showViews(string $databaseName) : string |
public startAddDisableKeys(string $tableName) : string |
public startAddLockTable(string $tableName) : string |
public startDisableAutocommit() : string |
public startTransaction() : string |
public unlockTable(string $tableName) : string |
Properties |
protected PDO $db |
protected Druidfi |