Skip to content

Releases: turbopixel/PHPDO-Database

Version 1.1.4 - Logs and Errors

18 Aug 17:21
Compare
Choose a tag to compare
  • Add internal php logging via error_log()
  • Add PHP Version check (php version > 7.2 required)
  • Add quick documentation into README.md

Version 1.1.2 - isTable what?

08 Jul 19:40
Compare
Choose a tag to compare
  • New method isTable(). You can use this method to check whether the table exists
  • Hide class, method and sql error message in exception

Version 1.1.0 - DB instanceof PHPDO

26 Apr 20:44
Compare
Choose a tag to compare
  • Add class DB(): Returns the current PHPDO instance (Example 1)
  • \PDOException instead of \Exception is used
  • update documentation
DB() Example
  • init.php
$PHPDO = new \PHPDO\PHPDO();
$PHPDO->connect("127.0.0.1", "database", "user", "password");
  • Authentification.php
$PHPDO = DB::getInstance();

Bugfix

16 Apr 19:52
Compare
Choose a tag to compare
  • Allow empty argument in prepare()

Hello Composer

16 Apr 19:35
Compare
Choose a tag to compare