|
|
A set of records, that can be traversed through iterators.
A recordset can be obtained directly by the database (through KDB::Database::openRecordset ("Select * from blah") ) or from an existing table or query.
There are two types of recordsets: read only or updatable. the type can be queried through updatable
an updatable recordset can be asked to build new records, as well as delete existing ones. Updates are allowed in the KDB::Record class
| ~Recordset ()
| ~Recordset |
| RecordsetIterator begin ()
| begin |
returns an iterator that points to the first record of the recordset.
| FieldList fields ()
| fields |
returns the list of all fields for the current recordset.
| bool updatable ()
| updatable |
returns true if the recordset is updatable, i.e. addRecord can be called and Record s can be modified and updated
| RecordPtr addRecord ()
| addRecord |
creates a new record. The programmer must call Record::update to actually insert the record in the database.
| void requery ()
| requery |
reloads all data from the database.
| KDB_ULONG count ()
| count |
returns the amount of records in the current database
| void recordAdded ( KDB::RecordPtr )
| recordAdded |
[signal]
| void recordRemoved ( KDB::RecordPtr )
| recordRemoved |
[signal]
| void recordUpdated ( KDB::RecordPtr )
| recordUpdated |
[signal]
| void changed ()
| changed |
[signal]
| void slotRecordUpdated (KDB::Record *, bool)
| slotRecordUpdated |
[slot]
| void slotRecordDeleted (KDB::Record *)
| slotRecordDeleted |
[slot]