Documentation
¶
Index ¶
- type FireStore
- func (db *FireStore) Add(ctx context.Context, collection string, data map[string]interface{}) error
- func (db *FireStore) Client() *firestore.Client
- func (db *FireStore) Delete(ctx context.Context, collection, doc string) error
- func (db *FireStore) DeleteField(ctx context.Context, collection, doc, path string) error
- func (db *FireStore) Set(ctx context.Context, collection, doc string, data map[string]interface{}) error
- type NoSQL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoSQL ¶
type NoSQL interface {
Client() *firestore.Client
Add(ctx context.Context, collection string, data map[string]interface{}) error
Set(ctx context.Context, collection, doc string, data map[string]interface{}) error
Delete(ctx context.Context, collection, doc string) error
DeleteField(ctx context.Context, collection, doc, path string) error
}
Click to show internal directories.
Click to hide internal directories.