Qore SqlUtil Module Reference 1.9.3
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
 
 constructor (string native_type, string type, *hash< auto > options)
 creates the object
 
 constructor (string native_type, Type type, *hash< auto > options)
 creates the object
 

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)

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