Download the PHP package dframe/database without Composer
On this page you can find all versions of the php package dframe/database. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dframe/database
More information about dframe/database
Files in dframe/database
Download dframe/database
More information about dframe/database
Files in dframe/database
Vendor dframe
Package database
Short Description Database pdo wrapper
License MIT
Homepage https://dframeframework.com
Package database
Short Description Database pdo wrapper
License MIT
Homepage https://dframeframework.com
Please rate this library. Is it a good library?
Informations about the package database
Dframe/Database
Dframe Documentation
Installation Composer
What's included?
Methods
Description | name |
---|---|
MySQL query | pdoQuery() |
MySQL select query | select() |
MySQL insert query | insert() |
MySQL insert batch | insertBatch() |
MySQL update query | update() |
MySQL delete query | delete() |
MySQL truncate table | truncate() |
MySQL drop table | drop() |
MySQL describe table | describe() |
MySQL count records | count() |
Show/debug executed query | showQuery() |
Get last insert id | getLastInsertId() |
Get all last insert id | getAllLastInsertId() |
Get MySQL results | results() |
Get MySQL result | result() |
Get status of executed query | affectedRows() |
MySQL begin transactions | start() |
MySQL commit the transaction | end() |
MySQL rollback the transaction | back() |
Debugger PDO Error | setErrorLog() |
Init Connection
OR
Example - pdoQuery
Return first element array;
Note: result() will select all rows in database, so if you want select only 1 row i query connection add LIMIT 1;
Return all result array query;
Update;
Note: affectedRows() will return numbers modified rows;
Insert;
Note: getLastInsertId() will return insert ID;
WhereChunk
Return all search result array query;
WhereStringChunk
Return search result array query;
Query builder
HavingStringChunk
GroupInsertBatchHelper
Original author
neerajsinghsonu/PDO_Class_Wrapper ^neerajsinghsonu/PDO_Class_Wrapper
All versions of database with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
ext-pdo Version *
ext-json Version *
ext-pdo Version *
ext-json Version *
The package dframe/database contains the following files
Loading the files please wait ....