Runs a ditto live query immediately with the passed in query params over a know document ID. As a result of this the live query may return a the document with the ID passed in as a parameter, if it exists.
live query parameters.
PendingIDSpecificOperationReturn
const { document } = usePendingIDSpecificOperation<Webhook>({ path: myPath, collection: 'collection' _id: new DocumentID("some_id") }) Copy
const { document } = usePendingIDSpecificOperation<Webhook>({ path: myPath, collection: 'collection' _id: new DocumentID("some_id") })
Runs a ditto live query immediately with the passed in query params over a know document ID. As a result of this the live query may return a the document with the ID passed in as a parameter, if it exists.