ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:activerecord:load

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
Last revisionBoth sides next revision
v5:activerecord:load [2016/01/13 02:31] – ↷ Links adapted because of a move operation mnewnhamv5:activerecord:load [2018/09/22 15:42] – [Description] mnewnham
Line 3: Line 3:
 <WRAP right box> <WRAP right box>
 == See Also == == See Also ==
-[[v5:reference:execute]]+[[v5:reference:connection:execute]]
 == Syntax == == Syntax ==
   bool load(   bool load(
Line 12: Line 12:
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
-Loads a record from the database. If an error occurs it returns false, otherwise true. If the optional 3rd parameter $lock is set to true, the [[activerecord:lockmode|database lock statement]] is applied to the SELECTed records.+Loads a record from the database. If an error occurs, or no records are found it returns false, otherwise true.
 ------------------------------ ------------------------------
 ===== Usage ===== ===== Usage =====
v5/activerecord/load.txt · Last modified: 2018/09/22 15:43 by mnewnham