Offers class

Use to query or read all Offers.

Properties

client

Methods

query(SqlQuerySpec, FeedOptions)

Query all offers.

query(SqlQuerySpec, FeedOptions)

Query all offers.

readAll(FeedOptions)

Read all offers.

Property Details

client

client: CosmosClient

Property Value

Method Details

query(SqlQuerySpec, FeedOptions)

Query all offers.

function query(query: SqlQuerySpec, options?: FeedOptions)

Parameters

query
SqlQuerySpec

Query configuration for the operation. See <xref:SqlQuerySpec> for more info on how to configure a query.

options
FeedOptions

Returns

query(SqlQuerySpec, FeedOptions)

Query all offers.

function query<T>(query: SqlQuerySpec, options?: FeedOptions)

Parameters

query
SqlQuerySpec

Query configuration for the operation. See <xref:SqlQuerySpec> for more info on how to configure a query.

options
FeedOptions

Returns

readAll(FeedOptions)

Read all offers.

function readAll(options?: FeedOptions)

Parameters

options
FeedOptions

Returns

QueryIterator<Resource>