|
|
Representation of a database table.
Trough this object we access the fields and indices of a given table (when available). This object will allow building of new fields and indexes, as well as editing of the table data using openRecordset
|
Field * |
creates a new field for the current table. If the table is not create()d, the field is appended to the list of fields and created with the table itself. else no modification will occur. To apply the changes to the table, you must use appendField
bool |
appends the field to the list of fields and issue an alter table to the underlying DBMS.
bool |
appends the field to the list of fields and issue an alter table to the underlying DBMS.
bool |
changes a field definition and issue an alter table to the underlying DBMS. the field must be already present in the list of fields
Field * |
[const]
returns an existing field by name, or 0L if the field does not exists
FieldList |
[const]
return the list of available fields
QStringList |
[const]
return the list of names of available fields
Index * |
creates a new index
Parameters:
name | this is the name of the index |
Index * |
[const]
return an index by name
IndexList |
[const]
return the list of available indexes
RecordsetPtr |
creates a recordset based on this table.
bool |
actually create the table. returns true if the table has been successfully created, false otherwise.
bool |
[const]
returns true if the table is in design mode, i.e. it is not created
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]
void |
[signal]