Qore SqlUtil Module Reference
1.6
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
36
class
AbstractNumericDataType
:
public
DataProvider::QoreNumberDataTypeBase {
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
};
SqlUtil::AbstractNumericDataType::name
string name
the type name
Definition:
AbstractNumericDataType.qc.dox.h:41
SqlUtil::AbstractNumericDataType
the data type for Oracle NUMBER columns
Definition:
AbstractNumericDataType.qc.dox.h:36
True
const True
SqlUtil::AbstractNumericDataType::acceptsValue
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
SqlUtil
Qore AbstractDatabase class definition.
Definition:
AbstractDatabase.qc.dox.h:32