66 bool hasField(
const QString &name)
const;
70 QString
getType(
int index)
const;
71 QString
getType(
const QString &name)
const;
73 bool isNull(
const QString &name)
const;
75 QString
getValue(
const QString &name)
const;
78 QString QtTypeField(
const char *ctype)
const;
Construct and execute a query on a database and manage result.
Definition SqlQuery.h:138
Provide simplified access to resulting SQL query row.
Definition SqlRecord.h:48
SqlRecord()
Default Constructor.
Definition SqlRecord.cpp:30
bool isNull(const QString &name) const
Determines if the value of the field/column is NULL.
Definition SqlRecord.cpp:142
bool hasField(const QString &name) const
Indicates the existance/non-existance of a field in the row.
Definition SqlRecord.cpp:54
QString getType(int index) const
Returns the type of a field/column at the specified index.
Definition SqlRecord.cpp:130
QString getFieldName(int index) const
Returns the name of a field/column at a particular index.
Definition SqlRecord.cpp:68
QString getValue(int index) const
Returns the value of the field/column at specified index.
Definition SqlRecord.cpp:156
virtual ~SqlRecord()
Definition SqlRecord.h:52
int size() const
Returns the number of fields/columns in query.
Definition SqlRecord.h:62
int getFieldIndex(const QString &name) const
Return the index of a named field/column This method will determine the index of the named field afte...
Definition SqlRecord.cpp:81
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16