mos/cdatabase

PHP classes for database handling upon PDO

v0.1.1 2015-09-17 13:03 UTC

This package is auto-updated.

Last update: 2024-03-10 18:31:18 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License Build Status Code Coverage Scrutinizer Quality Score

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 as mos/cdatabase.
 .  
..:  Copyright (c) 2013 - 2016 Mikael Roos, me@mikaelroos.se