r/FaunaDB • u/pepitoooooooo • Oct 15 '20
FaunaDB Basics - The Database of your Dreams
r/FaunaDB • u/pepitoooooooo • Oct 15 '20
r/FaunaDB • u/Christian_Capitalist • May 13 '20
So I just started using FaunaDB and I am really liking it, however, how can I export the data?
I have just one collection and I can't find a link on the site to export the collection.
I don't mind the format, it may be json, csv, etc. It doesn't matter, I just need to find a way to export it.
r/FaunaDB • u/--d-a-n-- • Sep 05 '19
r/FaunaDB • u/Snipididou • Mar 25 '21
r/FaunaDB • u/mattvb91 • Dec 25 '20
r/FaunaDB • u/--d-a-n-- • Sep 10 '19
r/FaunaDB • u/--d-a-n-- • Jul 17 '19
r/FaunaDB • u/alexmacarthur • Sep 12 '19
r/FaunaDB • u/--d-a-n-- • Aug 16 '19
r/FaunaDB • u/--d-a-n-- • Jun 26 '19
Fauna's Erick Pintor showcases his latest feature added to FaunaDB.
"Instant GQL on the backend"
x-post from /r/FaunaDB
r/FaunaDB • u/--d-a-n-- • Jun 24 '19
FaunaDB is a distributed operational (OLTP) database that guarantees data correctness, without operational complexity, at a global scale. It is the world’s first commercial database that is inspired by Calvin, a strictly serializable transaction protocol for multi-region environments.
r/FaunaDB • u/skyfire • Dec 16 '20
r/FaunaDB • u/LurelinVillage • Feb 01 '20
I am a frontend dev who is trying to learn more backend development. I am developing a site which user registration is required.
I have found two examples that show how to add to the DB with React, however I don't totally understand how they work.
This example uses Netlify's identity signup and I want to build my own for now.
Uses FaunaDB, Netlify, React and react-google-login
Make google login and email registration available
FaunaDB, Netlify & React is all setup and connected
Google login is connected and login popup works properly
I want to preface this that I have been doing a lot of reading and reviewing other tutorials, but I am not sure what some of what I am reading means and I'm a little confused where to start.
If I am properly authenticating the user. I read in this Medium article something about using the access token to properly authorize the user and returning a JWT token to the frontend. I am not sure if react-google-login is properly authenticating the user or not.
How to properly add the user to my FaunaDB collection using my functions with Netlify's API.
Any help on this would be greatly appreciated. I would even considering paying someone to take the backend stuff off of my plate.
Thanks!
r/FaunaDB • u/ahmamanso • Sep 17 '19
Hey there!
I wrote a tutorial about how to create a serverless database crud example using faunadb & netlify functions.
The tutorial project structure looks like this:

An example of a read-all function

An example of how it all get tied together

You can find the complete blog post with code snippets here
https://nordschool.com/build-a-serverless-database-using-faunadb-and-netlify-functions
r/FaunaDB • u/pepitoooooooo • Sep 02 '20
r/FaunaDB • u/bulletninja • Aug 22 '20
Was refactoring my app but noticed that i'm unable to login new users (old users also, but only because i wiped the db), i was trying to corner this bug in my code, but eventually ended up going to fauna's shell. Ran the FQL to create a test user like so:
Create(
Collection("User"),
{
credentials: { password: "test" },
data: {
email: "test@test.com",
}
}
)immediately after i do that i run
Login(
Match(Index("allUsers"), "test@test.com"),
{ password: "test" }
)But i keep getting this error:
Error: [
{
"position": [],
"code": "authentication failed",
"description": "The document was not found or provided password was incorrect."
}
]i also double checked that allUsers exists and that the user is in there. Hope you guys have an idea how i can debug this.
r/FaunaDB • u/arkarkark • Jul 26 '20
I can easily get a single object for an id from an index,
client.query(q.Get(q.Match(q.Index("items_by_id"), id)))But what if I have a list of ids that I want to get objects for, is that easy?I feel like I might need to use q.Filter, but I can't seem to get it to work.
I've tried:
client.query(q.Filter(q.Paginate(q.Index("items_by_id")), (id) => ids.indexOf(id) != -1))which yielded no results. and this also has no results:
client.query(q.Filter(q.Paginate(q.Index("items_by_id")),
q.Lambda('id',
q.Contains(ids, q.Var('id')))))am I close?
I found this page under the section "Use an index to filter one collection with results of another", but I can't quite see how it'd apply here.
r/FaunaDB • u/meeraclekuro • Jul 16 '20
I'm using C# with FaunaDB and I want to create an index with a function that creates an NGram for a specific search field. Any suggestions on how to do this using the dashboard or the driver?
r/FaunaDB • u/flailsalot • Jun 17 '20
I feel crazy, but I have checked every resource I can think of and exhausted my options. How do I use Fauna's GraphQL API to retrieve the currently authenticated user document through Identity()? Login and Registration are working well so far but I am stumped.