Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QSqlField::RequiredStatus QSqlField::requiredStatus (  )  const

Returns true if this is a required field; otherwise returns false. An INSERT will fail if a required field does not have a value.

See also:
setRequiredStatus() type() length() precision() defaultValue() isGenerated()

Definition at line 432 of file qsqlfield.cpp.

    return d->req;

Generated by  Doxygen 1.6.0   Back to index