SQL Namespace
Classes
EntitiesHelper
fetchGroups
Fetch all by defined groups in parallel. Example groups: [ { name: "groupName1", criteria: { where: {deleted_at: null} }, models: [ models.Product, models.Portal ] } ]
Signature
fetchGroups(Array groups, Function callback) : void
Parameters
- groups
- Groups to fetch
- Type: Array
- callback
- Function to call on finish
- Type: Function