I am thinking of using Fauna for my next small side project and began experimenting with it last night. I wanted to return two fields from a document, but I could not get the syntax correct.
I was working under the assumption that
SelectAll would allow me to extract multiple fields, but it turns out this is for returning multiple items from an array.
Map( Paginate(Match(Index("all_customers"))), Lambda("X", [ Select(["data", "firstName"], Get(Var("X"))), Select(["data", "lastName"], Get(Var("X"))) ] ) )
Slack is such a bad option for support like this. All the answers are locked in their walled garden. ↩