Qore SqlUtil Module Reference 1.9.1
Loading...
Searching...
No Matches
SqlUtil::AbstractNumericDataType Class Reference

the data type for Oracle NUMBER columns More...

#include <AbstractNumericDataType.qc.dox.h>

Inheritance diagram for SqlUtil::AbstractNumericDataType:
[legend]

Public Member Methods

auto acceptsValue (auto value)
 returns the value if the value can be assigned to the type More...
 
 constructor (string native_type, bool nullable, *hash< auto > options)
 creates the object
 
string getName ()
 returns the type name
 

Private Attributes

string name
 the type name
 

Detailed Description

the data type for Oracle NUMBER columns

Since
SqlUtil 1.6

Member Function Documentation

◆ acceptsValue()

auto SqlUtil::AbstractNumericDataType::acceptsValue ( auto  value)
virtual

returns the value if the value can be assigned to the type

Parameters
valuethe value to assign to the type
Returns
the value to be assigned; can be converted by the type

Reimplemented from DataProvider::QoreNumberDataTypeBase.