This plug-in allows you to sync plans collection into your MongoDB cluster. In this way you can perform queries, lookups and all other things easily with WeivData.
There isn't any filtering etc. limit for these collections which you may see when you use WixData.
Right now you have 3 functions to sync these collections:
Plans (WixPricingPlansPlans)
The database name depends on your choice. You can configure it with config function.
We do not suggest writing to these collections, use these collections to only read data from it.
Functions are designed to work with wix-pricing-plans.v2 APIs Events. Define events inside the events.js file and point the functions you import from this plugin.
Wix Pricing Plans Sync Plug-in
This plug-in allows you to sync plans collection into your MongoDB cluster. In this way you can perform queries, lookups and all other things easily with WeivData. There isn't any filtering etc. limit for these collections which you may see when you use WixData.
Right now you have 3 functions to sync these collections:
The database name depends on your choice. You can configure it with config function.
We do not suggest writing to these collections, use these collections to only read data from it.
Functions are designed to work with
wix-pricing-plans.v2
APIs Events. Define events inside theevents.js
file and point the functions you import from this plugin.Example: