List all indexes
Solution
{
data: [
Index("spells_by_element"),
Index("spellbooks_by_owner"),
Index("spells_by_spellbook"),
Index("spells_by_element_and_name"),
Index("elements_of_spells"),
Index("letters"),
Index("people_by_age_first"),
Index("people_by_last_first"),
Index("users_by_email"),
Index("products_by_customer"),
Index("products_by_store"),
Index("inventory_by_product"),
Index("products_by_price_high_to_low"),
Index("products_by_price_low_to_high"),
Index("all_customers"),
Index("all_orders"),
Index("all_products"),
Index("all_stores"),
Index("people_by_fullname"),
Index("all_people"),
Index("people_by_age_desc"),
Index("people_by_first"),
Index("people_by_first_last")
]
}
Discussion
The Paginate
function defaults to returning up to 64 indexes per
page. If your database contains more than 64 indexes, you can use the
size
parameter to retrieve up to 100,000 indexes 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!