| Version 2 (modified by vaibhav, 12 months ago) |
|---|
The ORM LoadBy? functions
Just like the Load functions, LoadBy? functions help you to query the database and Load single row from database get loaded into a PHP variable as an object for that class.
LoadBy? functions are created during the Code Generation process. When doing the code generation, the code generator looks for indexes in all your tables and for each index it find, it creates a LoadBy? function for the column. The LoadBy? functions are named after the column (not the index name). However it is important to knwow that you will not get any LoadBy? function for the primary key column (so don't look for that). The primary key column is handled by the Load Function for that class.
