|All requests||>||doing all crud operations||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Muddathir Samir - 1 year ago (2019-04-08)
doing all crud operations with one class like insert , select , delete , update
The utility generates automatically PHP classes for any tables of a given database schema. The package is extracted from my personal PHP Web MVC Framework.
An auto-generated MySQL class provides the following services:
A constructor for managing a fetched table’s row or for adding a new one Management for both single or composite Primary Keys Automatic mapping of the different date formats may occur between application and database Destructor to automatically close database connection Defines a set of attributes corresponding to the table fields Setter and Getter methods for each attribute OO methods for simplifying DML select, insert, update and delete operations A facility for quickly updating a previously fetched row Useful methods to obtain table DDL and the last executed SQL statement Error handling of SQL statements Camel/Pascal case naming convention for Attributes/Class used for mapping Fields/Table Useful PHPDOC information about table, fields and the usage of class, attributes and methods.
Read class docs to github.com by searching rcarvello
This class allows all CRUD operations. Many callback makes it very customizable. Examples for fast use learning.