Developing with FQL
This section is intended to help application developers learn to use the Fauna Query Language, the Fauna drivers, and Fauna’s features and functionality.
Fauna drivers allow developers to interact with Fauna via a programming language of their choice. After installing the Fauna driver for your preferred language, you have access to Fauna-specific functions within that language.
The Fauna driver for each programming language includes functions which mirror as closely as possible the built-in functions of Fauna Query Language while remaining idiomatically consistent with each particular language.
Fauna currently supports drivers for the following programming languages:
Learning to use FQL for basic database operations, including create, read, update, and delete is a good first step towards mastery of all of FQL’s capabilities.
As a functional language, FQL is quite different from SQL. Learn how to compose FQL queries.
Fauna supports a variety of data types, including standard scalar types such as Strings, Numbers, and Booleans, as well as some special data types which are particular to Fauna.
Learn how to include host-language data types within FQL queries, and how to extract values from FQL responses.
Indexes are central to how Fauna manages data access and manipulation, since they are required for searching and sorting.
The coverage for indexes includes multiple sub-sections:
Developers can create and save user-defined functions to facilitate running commonly used Fauna queries. UDFs allow you to execute business logic in the database, where it is closest to your documents.
All Fauna documents have a timestamp, and any time a document is updated a new version of the document is created with a current timestamp. Fauna’s ability to store and retrieve multiple versions of a single document is called temporality, and this page provides an introduction and usage guide.
As an HTTP service, your FQL queries can fail for a variety of reasons, including network discontinuity, service unavailability, syntax errors in your queries, and logical problems. Learn how errors are reported and how to deal with them.
Is this article helpful?
Tell Fauna how the article can be improved:
Thank you for your feedback!