v5:reference:recordset:fetchobj
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
v5:reference:recordset:fetchobj [2016/01/28 18:00] – [Usage] mnewnham | v5:reference:recordset:fetchobj [2023/06/11 11:28] – [fetchObj] add fetchObject alias dregad | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== fetchObj ======= | ====== fetchObj ======= | ||
+ | ====== fetchObject ======= | ||
+ | |||
~~NOTOC~~ | ~~NOTOC~~ | ||
+ | |||
<WRAP right box> | <WRAP right box> | ||
obj fetchObj( | obj fetchObj( | ||
optional bool $upperCaseKeys=false | optional bool $upperCaseKeys=false | ||
+ | ) | ||
+ | |||
+ | obj fetchObject( | ||
+ | optional bool $upperCaseKeys=true | ||
) | ) | ||
</ | </ | ||
Line 10: | Line 17: | ||
Unlike the [[v5: | Unlike the [[v5: | ||
+ | |||
+ | If the SQL statement results in an empty recordset, then calling fetchObj() will return an empty record, not EOF. Use [[v5: | ||
Results are influenced both by the [[v5: | Results are influenced both by the [[v5: |
v5/reference/recordset/fetchobj.txt · Last modified: 2023/06/11 12:25 by dregad