Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Close(ctx context.Context) error Find(ctx context.Context, collection string, entity interface{}, filter interface{}, opts ...*options.FindOptions) error FindOne(ctx context.Context, collection string, dest interface{}, filter interface{}, opts ...*options.FindOneOptions) error InsertOne(ctx context.Context, collection string, data interface{}) (*mongo.InsertOneResult, error) UpdateOne(ctx context.Context, collection string, filter interface{}, update interface{}, opts ...*options.UpdateOptions) (*mongo.UpdateResult, error) UpdateMany(ctx context.Context, collection string, filter interface{}, update interface{}, opts ...*options.UpdateOptions) (*mongo.UpdateResult, error) }
Click to show internal directories.
Click to hide internal directories.