The fetch method gets the next row and sets the objects variables to the rows data. It returns true if data has been collected, and false when there is no more data.
This function can not be called statically
Fetch is called by staticGet and get calls, so you can override this method in your classes, to add extra data to your object (like formated dates etc)
Example 20-1. Simple find and fetch of data based on object Vars
|
Example 20-2. Overriding fetch to add extra data.
|