![]() |
![]() |
![]() |
GNOME Data Access 4 manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GdaTreeMgrColumnsGdaTreeMgrColumns — a tree manager which creates a node for each column of a table |
GdaTreeMgrColumns; GdaTreeManager* gda_tree_mgr_columns_new (GdaConnection *cnc, const gchar *schema, const gchar *table_name);
"connection" GdaConnection* : Read / Write / Construct Only "schema" gchar* : Write / Construct Only "table-name" gchar* : Write / Construct Only
The GdaTreeMgrColumns is a GdaTreeManager object which creates a node for each column in a table.
It uses the GdaMetaStore associated to a GdaConnection to get the columns list for a table designated by its name and the database schema it is in; it's up to the caller to make sure the data in the GdaMetaStore is up to date.
The GdaConnection to be used needs to be specified when the object is created. The table
name and schema can however be specified when the object is created, and if not, are
fetched from the GdaTreeNode below which the nodes will be placed (using
gda_tree_node_fetch_attribute()
).
GdaTreeManager* gda_tree_mgr_columns_new (GdaConnection *cnc, const gchar *schema, const gchar *table_name);
Creates a new GdaTreeManager object which will add one tree node for each
column in the table named table_name
in the schema
schema.
|
a GdaConnection object |
|
a schema name |
|
the name of the table |
Returns : |
a new GdaTreeManager object |
Since 4.2
"connection"
property"connection" GdaConnection* : Read / Write / Construct Only
Connection to use.