ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:getinsertsql

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
reference:getinsertsql [2015/07/26 00:21] – created mnewnhamv5:reference:getinsertsql [2016/01/13 02:30] – ↷ Page moved from reference:getinsertsql to v5:reference:getinsertsql mnewnham
Line 1: Line 1:
 ====== getInsertSql ====== ====== getInsertSql ======
 +~~NOTOC~~
 <WRAP right box> <WRAP right box>
 == See Also == == See Also ==
Line 21: Line 21:
 ===== Parameters ===== ===== Parameters =====
 ====  $recordSet ==== ====  $recordSet ====
-The parameter ''$recordSet'' is _either a recordset obtained by [[reference:execute|executing]] a select statement to obtain an **invalid record**. There is no need to read the row.+The parameter ''$recordSet'' is either a recordset obtained by [[reference:execute|executing]] a select statement to obtain an **empty recordset**. There is no need to read the row.
  
 <code php> <code php>
Line 50: Line 50:
  
 <code php> <code php>
-$ar = array('last_name',"John O'Reilly");+$ar = array('last_name'=>"John O'Reilly");
 </code> </code>
 ------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Line 60: Line 60:
 -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
 <WRAP right tip 300px> <WRAP right tip 300px>
-This parameter was designed to provide backwards with now unsupported versions of ADOdb and may be removed in future releases.+This parameter was designed to provide backwards compatibility with now unsupported versions of ADOdb and may be removed in future releases.
 </WRAP> </WRAP>
 ==== $forceType ==== ==== $forceType ====
v5/reference/connection/getinsertsql.txt · Last modified: 2021/01/25 03:16 by mnewnham