#include "qsqlfield.h"
#include "qatomic.h"
#include "qdebug.h"
Go to the source code of this file.
◆ operator<<()
Definition at line 523 of file qsqlfield.cpp.
525 #ifndef Q_BROKEN_DEBUG_STREAM 532 dbg.
nospace() <<
", required: " 542 qWarning(
"This compiler doesn't support streaming QSqlField to QDebug");
bool isNull() const
Returns true if this is a NULL variant, false otherwise.
QDebug & nospace()
Clears the stream's internal flag that records whether the last character was a space and returns a r...
static const char * typeToName(Type type)
Converts the enum representation of the storage type, typ, to its string representation.
QVariant defaultValue() const
Returns the field's default value (which may be NULL).
QString name() const
Returns the name of the field.
Q_CORE_EXPORT void qWarning(const char *,...)
QVariant::Type type() const
Returns the field's type as stored in the database.
int precision() const
Returns the field's precision; this is only meaningful for numeric types.
int length() const
Returns the field's length.
int typeID() const
Returns the type ID for the field.
QDebug & space()
Writes a space character to the debug stream and returns a reference to the stream.
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
bool isGenerated() const
Returns true if the field is generated; otherwise returns false.
RequiredStatus requiredStatus() const
Returns true if this is a required field; otherwise returns false.