mos / cdatabase
PHP classes for database handling upon PDO
Installs: 1 625
Dependents: 15
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 4
Open Issues: 3
Requires
- php: >=5.4
This package is auto-updated.
Last update: 2024-11-10 20:06:47 UTC
README
PHP classes for database handling upon PDO.
Read an article about it here "CDatabase - PHP classes för working with SQL queries and databases"
By Mikael Roos, me@mikaelroos.se.
License
This software is free software and carries a MIT license.
History
v0.1.1* (2016-02-03)
- Allow binding params without type restrictions, used in "LIMIT ?, ?".
v0.1.1 (2015-09-17)
- Added try catch for code example where right outer join not supported in SQLite.
- Added phpdoc
- Merged #4
- Added unittesting and made it work on Travis.
- Added support for group by clause.
- Reformatted config-files with comments.
- Double check that lastInsertId works.
- Adding debug mode to hide or display connection details when connect() fails.
- Added error reporting to testprograms in webroot.
- Added utility
webroot/check_driver.php
to see if and what PDO drivers are loaded. - Merged issue #1 from Emil to include limit and offset and made it work with MySQL.
v0.1.0 (2014-04-17)
- Using and modifying class
CDatabase
from Anax-oophp and merging with same class from Lydia. - Adding trait for
TSQLQueryBuilderBasic
. - Adding
webroot
with testfiles for SQLite, MySQL and general SQLBuilder. - Adding
composer.json
and publishing to Packagist asmos/cdatabase
.
.
..: Copyright (c) 2013 - 2016 Mikael Roos, me@mikaelroos.se