GdaMetaContext

The <structname>GdaMetaContext</structname> represents a meta data modification context: the <emphasis>how</emphasis> when used with gda.meta_store.MetaStore.modifyWithContext, and the <emphasis>what</emphasis> when used with gda.connection.Connection.updateMetaStore.

To create a new #GdaMetaContext use #gda_meta_context_new.

To add a new column/value pair use #gda_meta_context_add_column.

To free a #GdaMetaContext, created by #gda_meta_context_new, use #gda_attributes_manager_free.

Since 5.2, you must consider this struct as opaque. Any access to its internal must use public API. Don't try to use #gda_meta_context_free on a struct that was created manually.

Members

Variables

columnNames
char** columnNames;

an array of column names (columns of the @table_name table)

columnValues
GValue** columnValues;

an array of values, one for each column named in @column_names

columns
GHashTable* columns;

A #GHashTable storing columns' name as key and #GValue as column's value.

size
int size;

the size of the @column_names and @column_values arrays

tableName
char* tableName;

the name of the table <emphasis>in the GdaMetaStore's internal database</emphasis>