This class enables easy database independent access to any database server.
Located in /RocksDatabase.php (line 18)
The constructor gives the database the $configFileName it will use.
The Execute method executes the SQL and returns the last inserted id if it was a insert
The GetTableFieldInfo method returns the field details for a given table.
The RegisterSQLErrorCallbackFunction method calls the function it is passed on a SQL error so the developer can handle the error properly.
The Select method executes the SQL and returns either a single value or array
The SelectArray method executes the SQL and always returns a array of results
DatabaseConfigName
= "DatabaseName"
(line 54)
The database name configuration key used in the configuration file
DatabaseSectionName
= "Database"
(line 38)
The database section name used in the configuration file
DatabaseTypeConfigName
= "DatabaseType"
(line 58)
The datbase type configuration key used in the configuration file
DebugConfigName
= "Debug"
(line 62)
The debug configuration key used in the configuration file
HostnameConfigName
= "Hostname"
(line 50)
The host name configuration key used in the configuration file
PasswordConfigName
= "Password"
(line 46)
The password configuration key used in the configuration file
UsernameConfigName
= "Username"
(line 42)
The username configuration key used in the configuration file