allEntries()

DescriptionThe 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:

  2. Listing all entries of a particular Entry Type:

  3. Counting all entries of a particular Entry Type:

    25