on GitHub" data-tooltip-id=":Rblcldb:">v2.5.1·
This documentation provides a reference to the useRemoteQueryStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step fetches data across modules using the remote query.
Learn more in the Remote 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:
EntryStepInput | ServiceStepInput
EntryStepInput | ServiceStepInputEntryStepInput | ServiceStepInput
EntryStepInput | ServiceStepInput