Register a database.
Space id.
Database backend.
OptionalowningObject: unknownDatabase owner, usually a space.
Result of onLoad.
Creates a reference to an existing object in the database.
NOTE: The reference may be dangling if the object is not present in the database.
Ref.fromDXNRef.fromDXN(dxn) returns an unhydrated reference. The .load and .target APIs will not work.
graph.ref(dxn) is preferable in cases with access to the database.
Does not remove the provider from active query contexts.
Manages cross-space database interactions.