Qore SqlUtil Module Reference 1.9.2
Loading...
Searching...
No Matches
SqlUtilDbSpecificDataType.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace SqlUtil {
28
33class SqlUtilDbSpecificDataType : public DataProvider::AbstractDataProviderType {
34
35public:
36protected:
38 string name;
39
42
43public:
44
46 constructor(string native_type, bool nullable, *hash<auto> options) ;
47
48
50 string getName();
51
52
54 string getDesc();
55
56
58 *Type getValueType();
59
60
62 *AbstractDataProviderType getElementType();
63
64
66 *hash<string, AbstractDataField> getFields();
67
68
70
74 auto acceptsValue(auto value);
75
76
78 hash<string, bool> getAcceptTypeHash(*bool simple);
79
80
82 hash<string, bool> getReturnTypeHash(*bool simple);
83
84};
85};
data type for DB-specific types that are not convertible to other types
Definition SqlUtilDbSpecificDataType.qc.dox.h:33
string name
the type name
Definition SqlUtilDbSpecificDataType.qc.dox.h:38
*AbstractDataProviderType getElementType()
returns the subtype (for lists or hashes) if there is only one
hash< string, bool > getReturnTypeHash(*bool simple)
returns a hash of types returned by this type
string getDesc()
Returns the description.
bool nullable
nullable flag
Definition SqlUtilDbSpecificDataType.qc.dox.h:41
*Type getValueType()
returns the base type for the type, if any
hash< string, bool > getAcceptTypeHash(*bool simple)
returns a hash of types accepted by this type
constructor(string native_type, bool nullable, *hash< auto > options)
creates the object from the given parameters
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
string getName()
returns the type name
*hash< string, AbstractDataField > getFields()
returns the fields of the data structure; if any
Qore AbstractDatabase class definition.
Definition AbstractDatabase.qc.dox.h:26