Class DB
Database wrapper class
The DB class allow easy and clean access to common database commands. At the moment there're drivers for PHP mysql and mysqli.
- DbPlugin
- DB
Direct known subclasses
OpenHomeoDBIndirect known subclasses
UserDB
Package: DB
Category: Database
Copyright: 2007-2014 Henri Schumacher
License: GNU Affero General Public License v3
Author: Henri Schumacher <henri.hulski@gazeta.pl>
Located at include/classes/db/db.php
Category: Database
Copyright: 2007-2014 Henri Schumacher
License: GNU Affero General Public License v3
Author: Henri Schumacher <henri.hulski@gazeta.pl>
Located at include/classes/db/db.php
public
array
|
|
public
array
|
|
public
boolean
|
#
reset_result( )
reset_result resets the SQL result, so that the result pointer is on the first element. |
public
resource
|
|
public
string|false
|
#
get_primary_key( string $table )
get_primary_key returns the primary key of a SQL table or false if not available |
public
boolean
|