Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 381 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 381 Bytes

firestore-directive

The Firestore provides Graphql directive

Directives

  • @collection Defines the firestore collection name and document type.
  • @documentID Assign the document ID to field.
  • @timestamp Convert FirestoreTimestamp to Date type.
  • @getDoc Get the document specified in the argument path.
  • @getDocs Get the collection specified in the argument path.