Gda.TreeMgrTables

g GObject.Object GObject.Object Gda.TreeManager Gda.TreeManager GObject.Object->Gda.TreeManager Gda.TreeMgrTables Gda.TreeMgrTables Gda.TreeManager->Gda.TreeMgrTables

Subclasses:

None

Methods

Inherited:

Gda.TreeManager (5), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (cnc, schema)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Gda.TreeManager (2)

Name

Type

Flags

Short Description

connection

Gda.Connection

r/w/co

Connection to use

meta-store

Gda.MetaStore

r/w/co

Gda.MetaStore to use

schema

str

w/co

Database schema to get the tables list from

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

object

Gda.TreeManager

r

priv

Gda.TreeMgrTablesPriv

r

Class Details

class Gda.TreeMgrTables(**kwargs)
Bases:

Gda.TreeManager

Abstract:

No

Structure:

Gda.TreeMgrTablesClass

classmethod new(cnc, schema)
Parameters:
Returns:

a new Gda.TreeManager object

Return type:

Gda.TreeManager

Creates a new Gda.TreeManager object which will add one tree node for each table found in the schema if it is not None, or for each table visible by default in cnc.

New in version 4.2.

Property Details

Gda.TreeMgrTables.props.connection
Name:

connection

Type:

Gda.Connection

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Defines the Gda.Connection to display information for. Necessary upon construction unless the Gda.TreeMgrTables :meta-store property is specified instead.

Gda.TreeMgrTables.props.meta_store
Name:

meta-store

Type:

Gda.MetaStore

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Defines the Gda.MetaStore to extract information from. Necessary upon construction unless the Gda.TreeMgrTables :connection property is specified instead. This property has priority over the Gda.TreeMgrTables :connection property.

New in version 4.2.4.

Gda.TreeMgrTables.props.schema
Name:

schema

Type:

str

Default Value:

None

Flags:

WRITABLE, 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