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

void QSqlRecord::clear (  ) 

Removes all the record's fields.

See also:
clearValues() isEmpty()

Reimplemented in Q3SqlCursor, and Q3SqlSelectCursor.

Definition at line 356 of file qsqlrecord.cpp.

References detach().

Referenced by Q3SqlCursor::clear(), and Q3SqlCursor::index().

{
    detach();
    d->fields.clear();
}


Generated by  Doxygen 1.6.0   Back to index