resources.find
Retrieves full or partial representations of all resources in a list of
given IDs.
Parameter document is a GraphQL DocumentNode that defines a fragment
on the resource object type, to control which fields are returned.
The resulting array will always have the same length as the provided IDs,
with each result corresponding to the ID at the same index. Unknown IDs
will have null entries in the resulting array.
Note: This function returns a generator. For async behavior, use
with a ProcessorRunner such as
that returned by Run.forDb or Project.run.
resources.get
Retrieves full or partial representations of a resource given its ID.
Parameter document is a GraphQL DocumentNode that defines a fragment
on the resource object type, to control which fields are returned.
Note: This function returns a generator. For async behavior, use
with a ProcessorRunner such as
that returned by Run.forDb or Project.run.
resources.load
Loads resource inputs and processes into corresponding IdObjects.
The resulting array will always have the same length as the inputs, with
each result corresponding to the input at the same index. Invalid inputs
correspond to null resource results.
Note: This function returns a generator. For async behavior, use
with a ProcessorRunner such as
that returned by Run.forDb or Project.run.
Generated using TypeDoc
resources.allRetrieves full or partial representations of all known resources for a given collection name. Parameter
documentis a GraphQL DocumentNode that defines a fragment on the resource object type, to control which fields are returned.Note: This function returns a generator. For
asyncbehavior, use with a ProcessorRunner such as that returned by Run.forDb or Project.run.