FQL v4 will be decommissioned on June 30, 2025. Ensure that you complete your migration from FQL v4 to FQL v10 by that date. Fauna accounts created after August 21, 2024 must use FQL v10. These accounts will not be able to run FQL v4 queries or access the v4 Dashboard. For more details, see the v4 EOL announcement and migration guide. Contact support@fauna.com with any questions. |
List all tokens
Solution
{ data: [ Ref(Tokens(), "1") ] }
{'data': [Ref(id=1, collection=Ref(id=tokens))]}
map[data:[{1 0xc00009a240 0xc00009a240 <nil>}]]
ObjectV(data: Arr(RefV(id = "1", collection = RefV(id = "tokens"))))
{data: [ref(id = "1", collection = ref(id = "tokens"))]}
{ data: [ Ref(Tokens(), "1") ] }
Discussion
The Paginate
function defaults to returning up to 64 keys per
page. If your database contains more than 64 keys, you can use the
size
parameter to retrieve up to 100,000 keys at once.
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!