![]() |
![]() |
![]() |
GNOME Data Access 4 manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GdaTreeMgrTables; GdaTreeManager* gda_tree_mgr_tables_new (GdaConnection *cnc, const gchar *schema);
"connection" GdaConnection* : Read / Write / Construct Only "schema" gchar* : Write / Construct Only
The GdaTreeMgrTables is a GdaTreeManager object which creates a node for each table in a database schema.
It uses the GdaMetaStore associated to a GdaConnection to get the tables list in database schema; 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
schema can however be specified when the object is created, and if not, is
fetched from the GdaTreeNode below which the nodes will be placed (using
gda_tree_node_fetch_attribute()
).
GdaTreeManager* gda_tree_mgr_tables_new (GdaConnection *cnc, const gchar *schema);
Creates a new GdaTreeManager object which will add one tree node for each table found in the
schema
if it is not NULL
, or for each table visible by default in cnc
.
|
a GdaConnection object |
|
a schema name or NULL
|
Returns : |
a new GdaTreeManager object |
Since 4.2
"connection"
property"connection" GdaConnection* : Read / Write / Construct Only
Connection to use.