1. Tasks
  2. Get Stub

Tasks

Get Stub

Task to retrieve a particular Stub's Data

Basic usage

Task to retrieve the very first Stub's data .

loading...

Parameters

fieldname
required
string

Name of the field to save the result data to : my_first_stub

query
required
string

MongoDB formatted query string used to find a particular Stub

projection
optional
string

MongoDB formatted projection string used to return the Stub's data

Default: {'stubref':1,'subject':1}

Result

loading...

Properties

fieldname

Name of the field created : my_first_stub


stub

Stub data object retrieved for the Stub, the projection parameter determines the results displayed here.