Qore SqlUtil Module Reference 1.8.1
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
37class SqlUtilColumnDataType : public DataProvider::QoreDataType {
38
39public:
40protected:
42 string name;
43
44public:
45
47 constructor(string native_type, string type, *hash<auto> options)
48 ;
49
50
52 constructor(string native_type, Type type, *hash<auto> options)
53 ;
54
55
57 string getName();
58
59
61
65 auto acceptsValue(auto value);
66
67};
68};
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