GObject.Object
Gda.Config
| Import line: | Gda = imports.gi.Gda; |
| GIR File: | Gda-4.0.gir |
| C documentation: | GdaConfig |
| Class : | Config |
| Extends: | GObject.Object |
| Show / Hide Inherited methods, properties and signals |
| Properties | Defined By | |
|---|---|---|
|
object : GObject.Object
read only
|
Gda.Config | |
|
priv : Gda.ConfigPrivate
read only
|
Gda.Config | |
|
system_filename : String
|
Gda.Config | |
|
user_filename : String
|
Gda.Config | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new Gda.Config
(Object properties)
Create a new Gda.Config
Create a new Gda.Config
|
||
|
Gda.Config.can_modify_system_config
()
:
Boolean
Tells if the global (system) configuration can be modified (considering system permissions and settings)
Tells if the global (system) configuration can be modified (considering system permissions and settings)
|
Gda.Config | |
|
Add or update a DSN from the definition in info
Add or update a DSN from the definition in info
|
Gda.Config | |
| Gda.Config | ||
|
Gda.Config.get
()
:
Gda.Config
Get a pointer to the global GdaConfig object
Get a pointer to the global GdaConfig object
|
Gda.Config | |
|
Get information about the DSN named dsn_name.
Get information about the DSN named dsn_name. and optionally <password> are provided, they are ignored). Also see the gda_dsn_split() utility function.
|
Gda.Config | |
|
Get a pointer to a read-only GdaDsnInfo at the index position
Get a pointer to a read-only GdaDsnInfo at the index position
|
Gda.Config | |
| Gda.Config | ||
|
Gda.Config.get_nb_dsn
()
:
Number
Get the number of defined DSN
Get the number of defined DSN
|
Gda.Config | |
|
Get a pointer to the session-wide GdaServerProvider for the provider named provider_name.
Get a pointer to the session-wide GdaServerProvider for the provider named provider_name. The caller must not call g_object_unref() on the returned object.
|
Gda.Config | |
|
Get some information about the a database provider (adapter) named
Get some information about the a database provider (adapter) named
|
Gda.Config | |
|
Gda.Config.list_dsn
()
:
Gda.DataModel
Get a GdaDataModel representing all the configured DSN, and keeping itself up to date with the changes in the declared DSN.
Get a GdaDataModel representing all the configured DSN, and keeping itself up to date with the changes in the declared DSN. The returned data model is composed of the following columns:
|
Gda.Config | |
|
Gda.Config.list_providers
()
:
Gda.DataModel
Get a GdaDataModel representing all the installed database providers.
Get a GdaDataModel representing all the installed database providers. The returned data model is composed of the following columns:
|
Gda.Config | |
| Gda.Config | ||
| Event | Defined By | |
|---|---|---|
|
Gda.Config | |
|
Gda.Config | |
|
Gda.Config | |
|
Gda.Config | |