v5:activerecord:replace
Differences
This shows you the differences between two versions of the page.
Last revisionBoth sides next revision | |||
activerecord:replace [2015/12/05 02:08] – created mnewnham | activerecord:replace [2015/12/05 18:10] – mnewnham | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Description ===== | ===== Description ===== | ||
ADOdb supports replace functionality, | ADOdb supports replace functionality, | ||
+ | ===== Returns ===== | ||
+ | The method returns | ||
+ | ^Value^Description^ | ||
+ | |0|failure| | ||
+ | |1|update| | ||
+ | |2|insert| | ||
+ | |||
===== Usage ===== | ===== Usage ===== | ||
<code php> | <code php> | ||
- | $person-> | + | $rec = new ADOdb_Active_Record(" |
+ | $rec-> | ||
+ | $rec-> | ||
+ | $ok = $rec-> | ||
+ | ADOdb_Active_Record:: | ||
</ | </ |
v5/activerecord/replace.txt · Last modified: 2016/01/13 02:15 by mnewnham