Documentation ¶
Index ¶
- func New() (document.DocumentService, error)
- func NewWithClient(client *firestore.Client, ctx context.Context) (document.DocumentService, error)
- type FirestoreDocService
- func (s *FirestoreDocService) Delete(key *document.Key) error
- func (s *FirestoreDocService) Get(key *document.Key) (*document.Document, error)
- func (s *FirestoreDocService) Query(collection *document.Collection, expressions []document.QueryExpression, ...) (*document.QueryResult, error)
- func (s *FirestoreDocService) QueryStream(collection *document.Collection, expressions []document.QueryExpression, ...) document.DocumentIterator
- func (s *FirestoreDocService) Set(key *document.Key, value map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() (document.DocumentService, error)
func NewWithClient ¶
Types ¶
type FirestoreDocService ¶
type FirestoreDocService struct { document.UnimplementedDocumentPlugin // contains filtered or unexported fields }
func (*FirestoreDocService) Query ¶
func (s *FirestoreDocService) Query(collection *document.Collection, expressions []document.QueryExpression, limit int, pagingToken map[string]string) (*document.QueryResult, error)
func (*FirestoreDocService) QueryStream ¶ added in v0.12.0
func (s *FirestoreDocService) QueryStream(collection *document.Collection, expressions []document.QueryExpression, limit int) document.DocumentIterator
Click to show internal directories.
Click to hide internal directories.