new Database(driver) → {Database}
Represents configuration of a server driver.
Parameters:
| Name | Type | Description |
|---|---|---|
driver |
Object | Database driver object. |
- Source:
Returns:
- Type
- Database
Methods
find(id, name) → {Array.<DataType>}
Searches for matching data types, based on key attributes.
Parameters:
| Name | Type | Description |
|---|---|---|
id |
String | Number | Type Id. |
name |
String | Type Name. |
- Source:
Returns:
List of matching types (an empty array when no matches found).
- Type
- Array.<DataType>