Qore SqlUtil Module Reference  1.6
SqlUtil::SqlUtilColumnDataType Class Reference

generic type for SQL datatypes where no translations are provided for NULL for "or nothing" types More...

Inheritance diagram for SqlUtil::SqlUtilColumnDataType:

Public Member Methods

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

Private Attributes

string name
 the type name
 

Detailed Description

generic type for SQL datatypes where no translations are provided for NULL for "or nothing" types

Since
SqlUtil 1.6

Member Function Documentation

◆ acceptsValue()

auto SqlUtil::SqlUtilColumnDataType::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::QoreDataType.