v5:reference:connection:getupdatesql
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
v5:reference:getupdatesql [2016/01/13 02:31] – ↷ Links adapted because of a move operation mnewnham | v5:reference:connection:getupdatesql [2021/01/25 03:12] – mnewnham | ||
---|---|---|---|
Line 10: | Line 10: | ||
string[] $fieldArray, | string[] $fieldArray, | ||
optional bool $forceUpdate=false, | optional bool $forceUpdate=false, | ||
- | optional bool $dontFixQuotes=false, | + | optional bool $placeHolder=false, |
optional bool $forceType=null | optional bool $forceType=null | ||
) | ) | ||
Line 40: | Line 40: | ||
Use of this parameter is tied to the now removed '' | Use of this parameter is tied to the now removed '' | ||
</ | </ | ||
- | ==== $dontFixQuotes | + | ==== $placeHolder |
- | For a description of this behavior see [[v5: | + | This argument was previously used for information about deprecated PHP functionality, |
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
<WRAP right tip 300px> | <WRAP right tip 300px> | ||
Line 72: | Line 72: | ||
$SQL = ' | $SQL = ' | ||
- | $result = $db->Execute($SQL); | + | $result = $db->execute($SQL); |
$updateArray = array(' | $updateArray = array(' | ||
Line 78: | Line 78: | ||
' | ' | ||
- | $SQL = $db-> | + | $SQL = $db-> |
- | + | ||
- | print $SQL | + | |
/* | /* | ||
- | * returns: UPDATE employees | + | * returns |
+ | | ||
SET FIRST_NAME=' | SET FIRST_NAME=' | ||
LAST_NAME=' | LAST_NAME=' | ||
Line 94: | Line 93: | ||
<code php> | <code php> | ||
- | $SQL = $db-> | + | $SQL = $db-> |
/* | /* | ||
* returns | * returns |
v5/reference/connection/getupdatesql.txt · Last modified: 2023/09/26 17:43 by dregad