Introduction
You can interact with data in the database by creating references to that data. You can reference an entire database, a collection within the database, or an individual document
Reference a database
const ref = adamite().database();
Reference a collection
const ref = adamite().database().collection("collection");
Reference a document
const ref = adamite().database().collection("collection").doc("documentId");
Last updated
Was this helpful?