80 bool hasField(
const QString &name)
const;
84 QString
getType(
int index)
const;
85 QString
getType(
const QString &name)
const;
87 bool isNull(
const QString &name)
const;
89 QString
getValue(
const QString &name)
const;
Provide simplified access to resulting SQL query row.
QString getType(int index) const
Returns the type of a field/column at the specified index.
bool isNull(const QString &name) const
Determines if the value of the field/column is NULL.
bool hasField(const QString &name) const
Indicates the existance/non-existance of a field in the row.
QString getFieldName(int index) const
Returns the name of a field/column at a particular index.
SqlRecord()
Default Constructor.
Construct and execute a query on a database and manage result.
int size() const
Returns the number of fields/columns in query.
Namespace for ISIS/Bullet specific routines.
QString QtTypeField(const char *ctype) const
Returns a generic field type given a Qt QVariant type.
QString getValue(int index) const
Returns the value of the field/column at specified index.
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...