With no spaceId, targets the owning space — i.e. the space of whichever database
executes the query — so callers can reference "this space" without looking up its id.
db.query(Filter.type(Person).from(Scope.space())); // owning space db.query(Filter.type(Person).from(Scope.space({ id:otherSpaceId }))); // a specific space
Scope targeting a space's automerge documents.
With no
spaceId, targets the owning space — i.e. the space of whichever database executes the query — so callers can reference "this space" without looking up its id.