cfxdb.meta.schema¶
Classes¶
Generic metadata, like documentation, tags, comments and reactions that |
Module Contents¶
- class Docs(slot=None, compress=None, marshal=None, unmarshal=None)[source]¶
Bases:
zlmdb.MapUuidCborDatabase table:
doc_oid -> docTable type
zlmdb.MapUuidCborKey type
uuid.UUIDRecord type
cfxdb.mrealmschema.Doc
- class IndexObjectToDoc(slot=None, compress=None)[source]¶
Bases:
zlmdb.MapSlotUuidUuidDatabase index table
(object_slot, object_oid) -> doc_oidTable type
zlmdb.MapSlotUuidUuidKey type
typing.Tuple[int, uuid.UUID]Indexed table
cfxdb.mrealmschema.Docs
- class Schema(db)[source]¶
Bases:
objectGeneric metadata, like documentation, tags, comments and reactions that can be attach on any object with an UUID.
- static attach(db)[source]¶
Attach database schema to database instance.
- Parameters:
db (
zlmdb.Database) – Database to attach schema to.
- attributes: cfxdb.meta.attribute.Attributes[source]¶
Generic meta data attributes for objects in other tables. Primary key of this table is
(table_oid, object_oid, attribute).
- docs: Docs[source]¶
Documentation attached to a database object.
Database table
cfxdb.mrealmschema.Docs
- idx_object_to_doc: IndexObjectToDoc[source]¶
by documented object ID
Database table
cfxdb.mrealmschema.IndexObjectToDoc
- Type:
Index on documentation