Qore SqlUtil Module Reference
1.7.5
|
data type for DB-specific types that are not convertible to other types More...
Public Member Methods | |
auto | acceptsValue (auto value) |
returns the value if the value can be assigned to the type More... | |
constructor (string native_type, bool nullable, *hash< auto > options) | |
creates the object from the given parameters | |
hash< string, bool > | getAcceptTypeHash () |
returns a hash of types accepted by this type | |
*AbstractDataProviderType | getElementType () |
returns the subtype (for lists or hashes) if there is only one | |
*hash< string, AbstractDataField > | getFields () |
returns the fields of the data structure; if any | |
string | getName () |
returns the type name | |
hash< string, bool > | getReturnTypeHash () |
returns a hash of types returned by this type | |
*Type | getValueType () |
returns the base type for the type, if any | |
Private Attributes | |
string | name |
the type name | |
bool | nullable |
nullable flag | |
data type for DB-specific types that are not convertible to other types
by default any DB-specific type without a known mapping to a Qore type and without a specific type implementation will be assigned this type
|
virtual |
returns the value if the value can be assigned to the type
value | the value to assign to the type |
Implements DataProvider::AbstractDataProviderType.