v5:activerecord:load
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
v5:activerecord:load [2016/01/13 02:15] – ↷ Page moved from activerecord:load to v5:activerecord:load mnewnham | v5:activerecord:load [2018/09/22 15:43] (current) – mnewnham | ||
---|---|---|---|
Line 3: | Line 3: | ||
<WRAP right box> | <WRAP right box> | ||
== See Also == | == See Also == | ||
- | [[reference: | + | [[v5:reference:connection:execute]] |
== Syntax == | == Syntax == | ||
bool load( | bool load( | ||
| | ||
- | | + | |
- | | + | |
) | ) | ||
</ | </ | ||
===== 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: | + | 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.1452647746.txt.gz · Last modified: 2017/04/21 11:21 (external edit)