Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionHelper ¶
type CollectionHelper interface { // InsertOne inserts a document in Mongo Collection. InsertOne(context.Context, interface{}, ...*options.InsertOneOptions) (*mongo.InsertOneResult, error) // FindOne finds a document in Mongo Collection by a given filter. FindOne(context.Context, interface{}, ...*options.FindOneOptions) *mongo.SingleResult }
CollectionHelper implements Mongo Collections interaction.
Click to show internal directories.
Click to hide internal directories.