allEntries()

The allEntries() lookup function returns all entries in the current site (that you have permission to see).

Details

This function will return all the entries on the current site. If you just return the result directly, it will only show the first "page" of entries, along with a link to view more. Because sites can have hundreds, thousands, or even millions of entries, this is normally used together with functions like filter() or count() that reduce the size of the result down to a smaller set or even to just a number.

Arguments

This function does not take any arguments.

Examples

  1. Listing all entries:
    allEntries()

  2. Listing all entries of a particular Entry Type:
    allEntries().filter(entryType=Lookup Function)

  3. Counting all entries of a particular Entry Type:
    allEntries().filter(entryType=Lookup Function).count()

© Copyright 2022 MacDonald Thoughtstuff Inc. All documentation text and multimedia on this site are licensed under the CC BY-SA 4.0 license.