Download .zip |
Info | Documentation | View files (2) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2020-05-03 (7 days ago) | Not enough user ratings | Total: 142 This week: 18 | All time: 8,907 This week: 16 |
Version | License | PHP version | Categories | |||
dal 1.0.1 | The PHP License | 5 | HTML, PHP 5, Databases |
Description | Author | ||||||||
This class can simplify the access databases using PDO. |
|
This class can simplify the access databases using PDO.
It can connect to a given database supported by the PDO extension taking an array of parameters that define the connection details.
The class can also perform several types of common actions to access the connected database like:
perform update with multiple criteria for where clause
perform delete with multiple criteria for where clause
contains the default configuration for connection connection parameters are: host, database, user, and password
@param $DBOCFG [database configuration] will perform a PDO connection using the configuration provided usefull when want to use custom connection other than the default database.
@param $q string value of the query @param $p [default empty array] parameters for the prepared statement $p follow the following rule each entry is of the form ["k"=>"value","v"=>"value"] where k is for the key in the query and v is for the value to attach @param $c for connection (null to use the default connection)
@param $q string value of the query @param $p [default empty array] parameters for the prepared statement $p follow the following rule each entry is of the form ["k"=>"value","v"=>"value"] where k is for the key in the query and v is for the value to attach @param $c for connection (null to use the default connection)
> call_sp is for when calling a stored procedure or using select query (expecting array result) > execute_query for when performing update/insert/delete or DDL queries (create, drop, ...)
>documentation todo
>documentation todo
>documentation todo
>documentation todo
>documentation todo
>documentation todo
>documentation todo
>documentation todo
>documentation todo
>documentation todo
>documentation todo
>documentation todo
>documentation todo
>documentation todo
print on screen in user-readable format for objects and arrays
AUTHOR MhmdJawadZD README Last edit By MHMD JAWAD ZD 2020/05/03
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.