Qore SqlUtil Module Reference 1.9
Loading...
Searching...
No Matches
SqlUtilColumnDataType.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 constructor(string native_type, string type, *hash<auto> options) ;
48
49
51 constructor(string native_type, Type type, *hash<auto> options) ;
52
53
55 string getName();
56
57
59
63 auto acceptsValue(auto value);
64
65};
66};
generic type for SQL datatypes where no translations are provided for NULL for "or nothing" types
Definition: SqlUtilColumnDataType.qc.dox.h:37
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
string getName()
returns the type name
constructor(string native_type, string type, *hash< auto > options)
creates the object
string name
the type name
Definition: SqlUtilColumnDataType.qc.dox.h:42
constructor(string native_type, Type type, *hash< auto > options)
creates the object
Qore AbstractDatabase class definition.
Definition: AbstractDatabase.qc.dox.h:26