Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CollectionName ¶
type CollectionName string
type HasObjectId ¶
type Store ¶
type Store interface { Disconnect(ctx context.Context) error Create(ctx context.Context, userId string, d interface{}) (interface{}, error) Save(ctx context.Context, userId string, d HasObjectId) (interface{}, error) FindOne(ctx context.Context, userId string, filter interface{}, rec interface{}) error Find(ctx context.Context, userId string, filter interface{}, sort interface{}, rec interface{}) error DeleteAll(ctx context.Context, userId string) (int64, error) DropCollection(ctx context.Context) error Delete(ctx context.Context, userId string, filter interface{}, rec interface{}) error Distinct(ctx context.Context, userId string, field string) ([]interface{}, error) }
Click to show internal directories.
Click to hide internal directories.