15#include "IException.h" 
   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;
 
 
Construct and execute a query on a database and manage result.
 
Provide simplified access to resulting SQL query row.
 
SqlRecord()
Default Constructor.
 
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 getType(int index) const
Returns the type of a field/column at the specified index.
 
QString getFieldName(int index) const
Returns the name of a field/column at a particular index.
 
QString getValue(int index) const
Returns the value of the field/column at specified index.
 
int size() const
Returns the number of fields/columns in query.
 
QString QtTypeField(const char *ctype) const
Returns a generic field type given a Qt QVariant type.
 
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...
 
This is free and unencumbered software released into the public domain.