![]() | ![]() | ![]() | GNOME Data Access manual | ![]() |
---|
struct GdaTablePrivate; GdaTable* gda_table_new (const gchar *name); GdaTable* gda_table_new_from_model (const gchar *name, const GdaDataModel *model, gboolean add_data); const gchar* gda_table_get_name (GdaTable *table); void gda_table_set_name (GdaTable *table, const gchar *name); void gda_table_add_field (GdaTable *table, const GdaFieldAttributes *fa); void gda_table_add_data_from_model (GdaTable *table, const GdaDataModel *model);
GdaTable* gda_table_new (const gchar *name);
Creates a new
name : | name for the new table. |
Returns : | the newly created object. |
GdaTable* gda_table_new_from_model (const gchar *name, const GdaDataModel *model, gboolean add_data);
Creates a
name : | name for the new table. |
model : | model to create the table from. |
add_data : | whether to add model's data or not. |
Returns : | the newly created object. |
const gchar* gda_table_get_name (GdaTable *table);
table : | a |
Returns : | the name of the given |
void gda_table_set_name (GdaTable *table, const gchar *name);
Sets the name of the given
table : | a |
name : | new name for the table. |
void gda_table_add_field (GdaTable *table, const GdaFieldAttributes *fa);
Adds a field to the given
table : | a |
fa : | attributes for the new field. |
void gda_table_add_data_from_model (GdaTable *table, const GdaDataModel *model);
Adds data in the given table from the given model.
table : | a |
model : | a GdaDataModel object. |
<<< GdaSelect | GdaTransaction >>> |