![]() |
![]() |
![]() |
GNOME Data Access 4 manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
struct GdaTreeMgrTables; GdaTreeManager * gda_tree_mgr_tables_new (GdaConnection *cnc
,const gchar *schema
);
"connection" GdaConnection* : Read / Write / Construct Only "meta-store" GdaMetaStore* : Read / Write / Construct Only "schema" gchar* : Write / Construct Only
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 . [allow-none]
|
Returns : |
a new GdaTreeManager object. [transfer full] |
Since 4.2
"connection"
property"connection" GdaConnection* : Read / Write / Construct Only
Defines the GdaConnection to display information for. Necessary upon construction unless the "meta-store" property is specified instead.
"meta-store"
property"meta-store" GdaMetaStore* : Read / Write / Construct Only
Defines the GdaMetaStore to extract information from. Necessary upon construction unless the "connection" property is specified instead. This property has priority over the GdaTreeMgrTables:connection property.
Since 4.2.4
"schema"
property"schema" gchar* : Write / Construct Only
If no set, then the table name will be fetched from the parent node using the "schema" attribute. If not found that way, then the list of visible tables (tables which can be identified without having to specify a schema) will be used
Default value: NULL