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

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

#include <SqlUtilColumnDataType.qc.dox.h>

Inheritance diagram for SqlUtil::SqlUtilColumnDataType:
[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, 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.