GObject.Object
Midgard.Storage
Import line: | Midgard = imports.gi.Midgard; |
GIR File: | Midgard-10.05.gir |
C documentation: | MidgardStorage |
Class : | Storage |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
new Midgard.Storage
()
Create a new Midgard.Storage
Create a new Midgard.Storage
|
||
Creates underlying storage (e.g.
Creates underlying storage (e.g. table in database) for class which is identified by given name. It may be class which represents any underlying storage type (database table or view, for example). If underlying storage already exists, this method silently ignore creation and returns TRUE. Such case is not considered an error. This method also creates metadata storage if given class uses such. Indexes are created if:
|
Midgard.Storage | |
Creates storage for base Midgard classes.
Creates storage for base Midgard classes.
|
Midgard.Storage | |
Delete storage for given class.
Delete storage for given class.
|
Midgard.Storage | |
Checks whether storage for given class exists.
Checks whether storage for given class exists.
|
Midgard.Storage | |
Update underlying storage.
Update underlying storage. This method doesn't create storage. It creates new columns if are defined for class properties and do not exist in storage yet. See midgard_storage_create() if you need more info about indexes.
|
Midgard.Storage |
None |