Inheritance diagram for libAllure\Database:Public Member Functions | |
| __construct ($dsn, $username, $password) | |
| escape ($s) | |
| fetchById ($table, $id) | |
| prepareSelectById ($table, $id,... $fields) | |
Public Attributes | |
| $queryCount = 0 | |
| const | DB_MYSQL_ERR_CONSTRAINT = 23000 |
| const | FM_ASSOC = \PDO::FETCH_ASSOC |
| const | FM_OBJECT = \PDO::FETCH_OBJ |
| const | FM_ORDER = \PDO::FETCH_NUM |
| libAllure\Database::__construct | ( | $dsn, | |
| $username, | |||
| $password ) |
PDOException if it cannot connect