Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection interface {
FindOne(ctx context.Context, filter interface{}) (Decoder, error)
DeleteOne(ctx context.Context, filter interface{}) error
InsertOne(ctx context.Context, doc interface{}) error
UpdateOne(ctx context.Context, filter interface{}, doc interface{}) error
DeleteMany(ctx context.Context, filter interface{}) error
}
type Database ¶
type Database interface {
Collection(collName string) Collection
}
type Disconnector ¶
Click to show internal directories.
Click to hide internal directories.