Gda.MetaDbObject

Fields

Name

Type

Access

Description

depend_list

[Gda.MetaDbObject]

r/w

list of Gda.MetaDbObject pointers on which this object depends (through foreign keys or tables used for views)

obj_catalog

str

r/w

the catalog the object is in

obj_full_name

str

r/w

the full name of the object (in the <schema>.<nameagt; notation

obj_name

str

r/w

the object’s name

obj_owner

str

r/w

object’s owner

obj_schema

str

r/w

the schema the object is in

obj_short_name

str

r/w

the shortest way to name the object

obj_type

Gda.MetaDbObjectType

r/w

the type of object (table, view)

outdated

bool

r/w

set to True if the information in this Gda.MetaDbObject may be outdated because the Gda.MetaStore has been updated

Methods

None

Details

class Gda.MetaDbObject

Struture to hold information about each database object (tables, views, …), its contents must not be modified.

Note: obj_catalog, obj_schema, obj_name, obj_short_name and obj_full_name respect the

‘SQL identifiers [information_schema:sql_identifiers]’ convention used in Gda.MetaStore objects. Before using these SQL identifiers, you should check the Gda.sql_identifier_quote() to know if is it is necessary to surround by double quotes before using in an SQL statement.