Qore SqlUtil Module Reference  1.7.3
AbstractNumericDataType.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
25 // assume local scope for variables, do not use "$" signs
26 // require type definitions everywhere
28 // enable all warnings
29 
31 namespace SqlUtil {
33 
37 
38 public:
39 protected:
41  string name;
42 
43 public:
44 
46  constructor(string native_type, bool nullable, *hash<auto> options)
47 : QoreNumberDataTypeBase(nullable ? SoftNumberOrNothingType : SoftNumberType, options + {'qore.no_null': True});
48 
49 
51  string getName();
52 
53 
55 
59  auto acceptsValue(auto value);
60 
61 };
62 };
const True
Qore AbstractDatabase class definition.
Definition: AbstractDatabase.qc.dox.h:32
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
the data type for Oracle NUMBER columns
Definition: AbstractNumericDataType.qc.dox.h:36
string name
the type name
Definition: AbstractNumericDataType.qc.dox.h:41