Adds a not
condition to the query.
The not()
function adds a not
condition to a PublicPlansQueryBuilder
. A query with a not
returns all the items that match the query as defined up to the not
function, but don't match the query passed to the not
function.
If the query only contains a not()
function, it returns all the items
that don't match the query defined by the not
method.
A query to add to the initial query as a not
condition.
Adds an or
condition to the query.
The or()
function adds an inclusive or
condition to a PublicPlansQueryBuilder
. A query
with an or
returns all the items that match the query as defined up to
the or
function, the items that match the query passed to the or
function, and the items that match both.
The 'or()' function is designed to work with 2 or more queries. If you use it on its own, it will return all the items in a collection.
A query to add to the initial query as an or
condition.
Sets the number of items to skip before returning query results.
The skip()
function defines the number of results to skip in the query
results before returning new query results.
For example, if you query a collection and 50 items match your query, but
you set skip
to 10, the results returned will skip the first 10 items
that match and return the 11th through 50th items.
By default, skip
is set to 0.
function skip(skip: number): PublicPlansQueryBuilder;
The number of items to skip in the query results before returning the results.
const query = wixPricingPlansBackend.queryPublicPlans().skip(10);