PHP Class SqlParser\Utils\Table

Afficher le fichier Open project: phpmyadmin/sql-parser Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

getForeignKeys() public static méthode

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