The Get docs say:
Getis also useful for retrieving the first document from a
This seems like it should be a simple query. I have a
sessions_by_code unique index and I want to get a session by its
This is the only query I could get to work, but surely there is a better way without Map/Paginate?
await client.query( q.Map( q.Paginate(q.Match(q.Index('sessions_by_code'), 'ABCD')), // ABCD is the code q.Lambda('ref', q.Var('ref')) ) );