AbstractNumericDataType.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
// assume local scope for variables, do not use "$" signs
// require type definitions everywhere
// enable all warnings
namespace SqlUtil {
class AbstractNumericDataType : public DataProvider::QoreNumberDataTypeBase {
public:
protected:
string name;
public:
constructor(string native_type, bool nullable, *hash<auto> options)
: QoreNumberDataTypeBase(nullable ? SoftNumberOrNothingType : SoftNumberType, options + {'qore.no_null': True});
string getName();
auto acceptsValue(auto value);
};
};
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