base class for abstract SqlUtil classes
More...
#include <AbstractSqlUtilBase.qc.dox.h>
|
|
Qore::SQL::AbstractDatasource | getDatasource () |
| | gets the underlying AbstractDatasource
|
| |
|
string | getDatasourceDesc () |
| | returns a descriptive string for the datasource
|
| |
|
string | getDriverName () |
| | returns the database driver name
|
| |
|
| | constructor (AbstractDatasource nds, *hash nopts) |
| | creates the object; private constructor
|
| |
|
transient Mutex | l () |
| | mutex for atomic actions
|
| |
|
| validateHashKeysForWhitespaces (auto node) |
| | Check input node for all hash keys - if it contains a key with whitespace in the beginning or at the end -> error.
|
| |
|
|
transient AbstractDatasource | ds |
| | the connection to the database server
|
| |
|
string | dsdesc |
| | datasource description
|
| |
|
*hash< auto > | opts |
| | option hash
|
| |
base class for abstract SqlUtil classes
◆ constructor()
| SqlUtil::AbstractSqlUtilBase::constructor |
( |
AbstractDatasource | nds, |
|
|
*hash | nopts ) |
|
protected |
creates the object; private constructor
- Parameters
-
| nds | the AbstractDatasource for the connection to the database |
| nopts | a hash of options for the table creation string; see SqlUtil::AbstractTable::TableOptions for common options; each driver can support additional driver-specific options |
- Exceptions
-
| OPTION-ERROR | invalid or unsupported option passed |