OpenSencillo  2016.106
Long live the simplicity of PHP
 All Data Structures Namespaces Files Functions Pages
SQL

Create table array construction: array( 'table'=>array( 'col1'=>array( 'type'=>'int', 'primary_key'=>true, 'foreign_key'=>'foreign_table(foreign_col)', 'foreign_key'=>array('foreign table'=>'foreign col'), 'unique'=>true, 'auto_increment'=>true, 'null'=>true ), 'col2'=>array( 'type'=>'int', 'primary_key'=>true, 'foreign_key'=>'foreign_table(foreign_col)', 'foreign_key'=>array('foreign table'=>'foreign col'), 'unique'=>true, 'auto_increment'=>true, 'null'=>true ), 'col3'=>array( 'type'=>'int', 'primary_key'=>true, 'foreign_key'=>'foreign_table(foreign_col)', 'foreign_key'=>array('foreign table'=>'foreign col'), 'unique'=>true, 'auto_increment'=>true, 'null'=>true ) ) )