gda.meta_context
Module for [MetaContext] class
class MetaContext
Types 1
classMetaContext : gobject.boxed.Boxed
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.
Methods
string tableName() @property nothrowGet `tableName` field. Returns: the name of the table <emphasis>in the GdaMetaStore's internal database</emphasis>void tableName(string propval) @property nothrowSet `tableName` field. Params: propval = the name of the table <emphasis>in the GdaMetaStore's internal database</emphasis>int size() @property nothrowGet `size` field. Returns: the size of the @column_names and @column_values arraysvoid size(int propval) @property nothrowSet `size` field. Params: propval = the size of the @column_names and @column_values arraysstring getTable() nothrowGet table's name to used in the context. Returns: A string with the table's name used in the context.void setColumn(string column, gobject.value.Value value, gda.connection.Connection cnc = null) nothrowSets a new column/value pair to the given context ctx. Column, must be a column in the given table's name setted by #gda_meta_context_set_table () (a table in the <link linkend="information_schema"...void setTable(string table) nothrowSet table's name to use in the context. The table is one of <link linkend="information_schema">database schema</link> used to store meta information about the database. Use "tables" to update meta ...