firestore_service

package
v0.18.0-rc.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func NewWithClient

func NewWithClient(client *firestore.Client, ctx context.Context) (document.DocumentService, error)

Types

type FirestoreDocService

type FirestoreDocService struct {
	document.UnimplementedDocumentPlugin
	// contains filtered or unexported fields
}

func (*FirestoreDocService) Delete

func (s *FirestoreDocService) Delete(key *document.Key) error

func (*FirestoreDocService) Get

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

func (s *FirestoreDocService) QueryStream(collection *document.Collection, expressions []document.QueryExpression, limit int) document.DocumentIterator

func (*FirestoreDocService) Set

func (s *FirestoreDocService) Set(key *document.Key, value map[string]interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL