Public
Edited
Nov 6, 2023
Insert cell
Insert cell
client.query(faunadb.Collection("collectionTest").toJSON())
Insert cell
client.query(
faunadb.Map(
// This paginates through all documents in the specified collection.
faunadb.Paginate(faunadb.Documents(faunadb.Collection("collectionTest"))),
// This lambda function is applied to each item (document ref) in the collection.
faunadb.Lambda((x) => faunadb.Get(x))
)
)
Insert cell
client = new faunadb.Client({
secret: key,
domain: 'db.fauna.com',
scheme: 'https',
})
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more