@dxos/react-client
Preparing search index...
echo
Relation
getDatabase
Variable getDatabase
Const
getDatabase
:
(
entity
:
Relation
.
Unknown
|
Relation
.
Snapshot
,
)
=>
Database
.
Database
|
undefined
Get the database the relation belongs to. Accepts both reactive relations and snapshots.
Type declaration
(
entity
:
Relation
.
Unknown
|
Relation
.
Snapshot
)
:
Database
.
Database
|
undefined
Parameters
entity
:
Relation
.
Unknown
|
Relation
.
Snapshot
Returns
Database
.
Database
|
undefined
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@dxos/react-client
Loading...
Get the database the relation belongs to. Accepts both reactive relations and snapshots.