queryPublicPlans( )


Creates a query to retrieve a list of public pricing plans.

について queryPublicPlans() function builds a query to retrieve a list of up to 1,000 public plans and returns a PublicPlansQueryBuilder オブジェクトがある。

The returned object contains the query definition which is typically used to run the query using the find() 関数である。

You can refine the query by chaining PublicPlansQueryBuilder functions onto the query. PublicPlansQueryBuilder functions enable you to sort, filter, and control the results that queryPublicPlans() returns.

queryPublicPlans() runs with the following PublicPlansQueryBuilder defaults that you can override:

The functions that are chained to queryPublicPlans() are applied in the order they are called. For example, if you sort on the _createdDate property in ascending order and then on the _id property in ascending order, the results are sorted first by the created date of the items and then, if there are multiple results with the same date, the items are sorted by _id in ascending order, per created date value.

The following PublicPlansQueryBuilder functions are supported for the queryPublicPlans() function. For a full description of the Plans object, see the object returned for the 項目 property in PublicPlansQueryResult.

PROPERTYSUPPORTED FILTERS & SORTING
_ideq(),ne(),存在する(),in(),hasSome(),startsWith(),昇順(),降順()
primaryeq(),ne(),存在する(),in(),hasSome(),昇順(),降順()
_createdDateeq(),ne(),存在する(),in(),hasSome(),lt(),ル(),gt(),ge(),昇順(),降順()
_updatedDateeq(),ne(),存在する(),in(),hasSome(),lt(),ル(),gt(),ge(),昇順(),降順()
slugeq(),ne(),存在する(),in(),hasSome(),startsWith(),昇順(),降順()
Permissions
Manage Bookings Services and Settings
Manage Orders
Read Orders
Read Pricing Plans
Manage Pricing Plans
Manage Portfolio
Manage Restaurants - all permissions
Learn more about app permissions.
メソッド宣言
コピー
リクエスト
このメソッドはパラメータを取らない
リターン
Return Type:PlansQueryBuilder
役に立ちましたか?
はい
いいえ