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/18 20:47] – ↷ Links adapted because of a move operation 66.249.75.217 | v5:activerecord:load [2018/09/22 15:43] (current) – mnewnham | ||
---|---|---|---|
Line 7: | Line 7: | ||
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.1453146459.txt.gz · Last modified: 2017/04/21 11:21 (external edit)