Connects to the host/database.
- Parameters
-
string | $conn_string | Connection string/DSN for connecting to the database. |
- Returns
- boolean true on success, false on failure
Disconnect from the database/host.
- Returns
- boolean true on success, false on failure
Execute the specified SQL/commands on the database.
- Parameters
-
string | $sql | The SQL/command to send to the database. |
- Returns
- mixed string or array of returned data, or false on failure
Get a list of the available columns on the specified table. Used for autocomplete.
- Parameters
-
string | $table | Name of the table |
- Returns
- array List of column names
Get the name of the current database.
- Returns
- string Name of the database.
Get a description of the database/backend type.
- Returns
- string Name of the database system.
Get the version of the database/backend type.
- Returns
- string Version of the database system.
Get a list of the available tables on the current database. Used for autocomplete.
- Returns
- array List of table names.
Checks whether the specified command is a supported or valid macro.
- Parameters
-
- Returns
- boolean true if yes or false if not
The documentation for this class was generated from the following file: