FQL Page objects can be arguments to array functions

Chris Biscardi
InstructorChris Biscardi

Share this video with your friends

Send Tweet
Published 3 years ago
Updated a year ago

FQL Page objects have additional fields like before, and data, that may make it seem like you need to Select to get at the underlying array of results. However, FQL supports passing Page objects directly to functions that operate on arrays and the function will transparently operate on the contained data field.

Drop(1, Paginate(Match(Index("all_customers"))))
Take(1, Paginate(Match(Index("all_customers"))))