Fetches the requested account labels and returns an iterator.
Restricts this selector to return only account labels with the given account label IDs.
Restricts this selector to return only account labels with the given account label IDs.
var accountLabelIds = [12345, 23456, 34567]; selector = selector.withIds(accountLabelIds);
The resulting selector can be further refined by applying additional conditions to it. The ID-based condition will then be AND-ed together with all the other conditions, including any other ID-based conditions. So, for instance, the following selector:
MccApp.accountLabels() .withIds([12345, 23456, 34567]) .withIds([34567, 45678, 56789]);will only get the account label with ID
34567
, since it would be the only account label that satisfies both ID conditions.The selector can only support up to 10,000 IDs. If more than 10,000 IDs are specified, the corresponding get() call will fail with a runtime error.
Specifies limit for the selector to use.
Specifies limit for the selector to use. For instance,
withLimit(50)
returns only the first 50 entities.
Fetches account labels. Supports filtering.
Typical usage: