Get the database the type entity belongs to, or undefined if it is an
in-memory declaration (Type.makeObject / Type.makeRelation result) not
yet attached to a database. Mirrors Obj.getDatabase / Relation.getDatabase.
Database attachment is the canonical discriminator between in-memory and
in-database type entities — both are live reactive TypeSchema instances and
are otherwise indistinguishable.
Get the database the type entity belongs to, or
undefinedif it is an in-memory declaration (Type.makeObject/Type.makeRelationresult) not yet attached to a database. MirrorsObj.getDatabase/Relation.getDatabase.Database attachment is the canonical discriminator between in-memory and in-database type entities — both are live reactive
TypeSchemainstances and are otherwise indistinguishable.