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