class Recordset
|
A set of records, that can be traversed through iterators. More... |
|
|
Public Methods
Public Slots
Signals
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
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.
reloads all data from the database.
returns the amount of records in the current database
[signal]
[signal]
[signal]
[signal]
void slotRecordUpdated (KDB::Record *, bool)
| slotRecordUpdated |
[slot]
void slotRecordDeleted (KDB::Record *)
| slotRecordDeleted |
[slot]
- Version: kdbcore 0.0.2
- Author: Alessandro Praduroux <pradu@thekompany.com>
- Generated: baudens@ke.mandrakesoft.com on Fri Apr 13 14:31:32 2001, using kdoc 2.0a53.