ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:dictionary:executesqlarray

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dictionary:executesqlarray [2015/09/16 01:18] mnewnhamv5:dictionary:executesqlarray [2016/01/13 02:06] (current) – ↷ Links adapted because of a move operation mnewnham
Line 8: Line 8:
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
-The method ''executeSqlArray()'' executes an array of statements constructed by one of the data dictionary functions such as [[dictionary:createtablesql|createTableSql()]],  [[dictionary:dropindexsql|dropIndexSql()]] or  [[dictionary:addcolumnsql|addColumnSql()]]. +The method ''executeSqlArray()'' executes an array of statements constructed by one of the data dictionary functions such as [[v5:dictionary:createtablesql|createTableSql()]],  [[v5:dictionary:dropindexsql|dropIndexSql()]] or  [[v5:dictionary:addcolumnsql|addColumnSql()]]. 
  
 The statements are executed within the scope of a single transaction. The statements are executed within the scope of a single transaction.
Line 29: Line 29:
  
 /* /*
-* create the SQL statement necessary to create the table and its columns+* create the SQL statement necessary to modify the column
 */ */
 $sqlarray = $dict->changeTableSQL($tabname, $flds); $sqlarray = $dict->changeTableSQL($tabname, $flds);
v5/dictionary/executesqlarray.txt · Last modified: 2016/01/13 02:06 by mnewnham