| 3 | | Just like the [wiki:ORMLoadFunction Load] functions, |
| | 3 | Just like the [wiki:ORMLoadFunction 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. |
| | 4 | |
| | 5 | LoadBy functions are created during the [wiki:Codegen 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 [wiki:ORMLoadFunction Load Function] for that class. |