on GitHub" data-tooltip-id=":Rblcldb:">v2.5.1·
This documentation provides a reference to the useQueryGraphStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step fetches data across modules using the Query.
Learn more in the Query documentation.
To retrieve a list of records of a data model:
To retrieve a single item instead of a an array:
To throw an error if a record isn't found matching the specified ID:
To set pagination configurations:
UseQueryGraphStepInput
UseQueryGraphStepInput<TEntry>TEntry
TEntryGraphResultSet
GraphResultSet<TEntry>TEntry
TEntry