AudioDidact\DB\MySQLDAL::makeColumnSQL
Generates SQL query to make a column. Returns something in the form of `columnName` columnType NULL/Not Default Key Extra
Signature
protected function makeColumnSQL(array
$cĀ )
Parameters
$c
ā array- dictionary representing a column's correct schema
Returns
- string
Test Coverage
Information
- Coverage: 11/11 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] ā MySQLDALTest::testMakeDB
- [ PASSED ] ā MySQLDALTest::testUpdateDB