ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:structure:sample_usage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
v5:dictionary:structure:sample_usage [2016/04/09 21:44]
mnewnham
v5:dictionary:structure:sample_usage [2016/04/09 21:46] (current)
mnewnham
Line 10: Line 10:
 $t->addAttribute('ENGINE INNODB','mysql'); $t->addAttribute('ENGINE INNODB','mysql');
 $t->addColumnObject('COL1','I'); $t->addColumnObject('COL1','I');
-$t->addColumnObject('COL1','I')->addAttribute('NOTNULL');+$t->addColumnObject('COL1','I') 
 +                   ->addAttribute('NOTNULL');
  
 $c = $t->addColumnObject('COL2','C(64)'); $c = $t->addColumnObject('COL2','C(64)');
v5/dictionary/structure/sample_usage.1460231089.txt.gz · Last modified: 2017/04/21 11:29 (external edit)