@dxos/client
    Preparing search index...

    Variable getDatabaseConst

    getDatabase: (
        entity: Relation.Unknown | Relation.Snapshot,
    ) => Database.Database | undefined

    Get the database the relation belongs to. Accepts both reactive relations and snapshots.

    Type declaration