Qore SqlUtil Module Reference 1.9
Loading...
Searching...
No Matches
SqlUtilStringType.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
25// minimum required Qore version
26// assume local scope for variables, do not use "$" signs
27// require type definitions everywhere
29// enable all warnings
30
32namespace SqlUtil {
34
38
39public:
40protected:
42 string name;
43
44public:
45
47
49 constructor(string native_type, bool nullable, *hash<auto> options)
50 ;
51
52
54 string getName();
55
56
58 *hash<string, hash<DataProviderTypeOptionInfo>> getSupportedOptions();
59
60
62
66 auto acceptsValue(auto value);
67
68};
69};
type for string / varchar / char columns
Definition: SqlUtilStringType.qc.dox.h:37
string getName()
returns the type name
string name
the type name
Definition: SqlUtilStringType.qc.dox.h:42
*hash< string, hash< DataProviderTypeOptionInfo > > getSupportedOptions()
returns supported options
constructor(string native_type, bool nullable, *hash< auto > options)
creates the object
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
Qore AbstractDatabase class definition.
Definition: AbstractDatabase.qc.dox.h:26