Loading...
Searching...
No Matches
SqlUtilDbSpecificDataType.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace SqlUtil {
class SqlUtilDbSpecificDataType : public DataProvider::AbstractDataProviderType {
public:
protected:
string name;
bool nullable;
public:
constructor(string native_type, bool nullable, *hash<auto> options) ;
string getName();
string getDesc();
*Type getValueType();
*AbstractDataProviderType getElementType();
*hash<string, AbstractDataField> getFields();
auto acceptsValue(auto value);
hash<string, bool> getAcceptTypeHash(*bool simple);
hash<string, bool> getReturnTypeHash(*bool simple);
};
};
SqlUtil::SqlUtilDbSpecificDataType
data type for DB-specific types that are not convertible to other types
Definition SqlUtilDbSpecificDataType.qc.dox.h:33
SqlUtil::SqlUtilDbSpecificDataType::name
string name
the type name
Definition SqlUtilDbSpecificDataType.qc.dox.h:38
SqlUtil::SqlUtilDbSpecificDataType::getElementType
*AbstractDataProviderType getElementType()
returns the subtype (for lists or hashes) if there is only one
SqlUtil::SqlUtilDbSpecificDataType::getReturnTypeHash
hash< string, bool > getReturnTypeHash(*bool simple)
returns a hash of types returned by this type
SqlUtil::SqlUtilDbSpecificDataType::getDesc
string getDesc()
Returns the description.
SqlUtil::SqlUtilDbSpecificDataType::nullable
bool nullable
nullable flag
Definition SqlUtilDbSpecificDataType.qc.dox.h:41
SqlUtil::SqlUtilDbSpecificDataType::getValueType
*Type getValueType()
returns the base type for the type, if any
SqlUtil::SqlUtilDbSpecificDataType::getAcceptTypeHash
hash< string, bool > getAcceptTypeHash(*bool simple)
returns a hash of types accepted by this type
SqlUtil::SqlUtilDbSpecificDataType::constructor
constructor(string native_type, bool nullable, *hash< auto > options)
creates the object from the given parameters
SqlUtil::SqlUtilDbSpecificDataType::acceptsValue
auto acceptsValue(auto value)
returns the value if the value can be assigned to the type
SqlUtil::SqlUtilDbSpecificDataType::getName
string getName()
returns the type name
SqlUtil::SqlUtilDbSpecificDataType::getFields
*hash< string, AbstractDataField > getFields()
returns the fields of the data structure; if any
SqlUtil
Qore AbstractDatabase class definition.
Definition AbstractDatabase.qc.dox.h:26