1. Tasks
  2. Get Stub

Tasks

Get Stub

Task to retrieve a particular Stub's data

Basic Usage

Task to retrieve the data of a specific stub.

loading...

Parameters

fieldname
required
string

The name of the field to save the result data to: my_first_stub

query
required
string

A MongoDB-formatted query string used to find a specific stub.

projection
optional
string

A MongoDB-formatted projection string used to specify which stub fields to return.

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

Result

loading...

Properties

fieldname

The name of the field created: my_first_stub


stub

The stub data object retrieved. The projection parameter determines which fields are included in the results.