This class can generate classes of objects to access MySQL tables as objects.
It takes the name of a MySQL table and generates a class with a given name that maps between the given table records and class objects.
The generated class has functions to create, retrieve, update and delete records of the given table.
The list of table fields that are mapped to class variables is configurable.
It generates functions to get objects by identifier value, as well for each field with foriegn keys, indexes and unique keys, get all objects of a table, find objects by search, create, retrieve, update and delete rows. |