Gda.TreeMgrTables¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Connection to use |
||
r/w/co |
|
||
w/co |
Database schema to get the tables list from |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
object |
r |
||
priv |
r |
Class Details¶
- class Gda.TreeMgrTables(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(cnc, schema)¶
- Parameters:
cnc (
Gda.Connection
) – aGda.Connection
object
- Returns:
a new
Gda.TreeManager
object- Return type:
Creates a new
Gda.TreeManager
object which will add one tree node for each table found in the schema if it is notNone
, or for each table visible by default in cnc.New in version 4.2.
Property Details¶
- Gda.TreeMgrTables.props.connection¶
- Name:
connection
- Type:
- Default Value:
- Flags:
Defines the
Gda.Connection
to display information for. Necessary upon construction unless theGda.TreeMgrTables
:meta-store
property is specified instead.
- Gda.TreeMgrTables.props.meta_store¶
- Name:
meta-store
- Type:
- Default Value:
- Flags:
Defines the
Gda.MetaStore
to extract information from. Necessary upon construction unless theGda.TreeMgrTables
:connection
property is specified instead. This property has priority over theGda.TreeMgrTables
:connection
property.New in version 4.2.4.
- Gda.TreeMgrTables.props.schema¶
- Name:
schema
- Type:
- Default Value:
- Flags:
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