PHP Class SqlParser\Utils\Table

ファイルを表示 Open project: phpmyadmin/sql-parser Class Usage Examples

Public Methods

Method Description
getFields ( CreateStatement $statement ) : array Gets fields of the table.
getForeignKeys ( CreateStatement $statement ) : array Gets the foreign keys of the table.

Method Details

getFields() public static method

Gets fields of the table.
public static getFields ( CreateStatement $statement ) : array
$statement SqlParser\Statements\CreateStatement The statement to be processed.
return array

getForeignKeys() public static method

Gets the foreign keys of the table.
public static getForeignKeys ( CreateStatement $statement ) : array
$statement SqlParser\Statements\CreateStatement The statement to be processed.
return array