The method dbworker provides the DBWorker object for working with the database.
Currently supported: MySQL und MS SQL.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $parameters | by value | array | [] |
Connection settings as an associative array in the form key => value:
Example:
|
| $singleton | by value | bool | true |
If the parameter is true, it ensures that only one instance of this object exists. |
returns DBWorker object or null if the object could not be created.
It might throw the following exceptions in the case of any errors.