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
Last revisionBoth sides next revision
v5:activerecord:load [2016/01/18 20:47] – ↷ Links adapted because of a move operation 66.249.75.217v5:activerecord:load [2018/09/22 15:42] – [Description] mnewnham
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