Firestore Sweet

Firestore Sweet

  • Tutorial
  • API
  • Github

›FieldValue

Tutorial

  • Getting Started

Read

  • get
  • on
  • ref

Write

  • add
  • set
  • upsert
  • update
  • delete

FieldValue

  • inc
  • del
  • ts
  • union
  • remove

Atomic & Bulk

  • tx
  • batch

ts

db.ts adds the server timestamp when the document is written to the DB.

add a server timestamp

await db.update({date: db.ts}, "users", "bob")
// equivalent firestore
await fb.collection("users").doc("bob").update({age: firebase.firestore.FieldValue.serverTimestamp()})
← delunion →
  • add a server timestamp
Firestore Sweet
Docs
Getting StartedAPI Reference
Who's Using Firesotre Sweet ?
WARASHIBEALISCHOOLcrypvoVePress
Where to Find Me ?
ALIS BlogGitHubStar
Follow @ocrybit
Copyright © 2020 Tomoya Nagasawa