package
0.0.0-20240928035517-c2562a75f92f
Repository: https://github.com/ts22082/scanr_server.git
Documentation: pkg.go.dev

# Functions

Connect establishes a connection to a MongoDB instance.
Create inserts a new document into the specified collection that belongs to the model that is passed.
DeleteMany deletes multiple documents from the specified collection based on the provided filter.
DeleteOne deletes a single document from the specified collection based on the provided filter.
No description provided by the author
GetAll retrieves all documents from the specified collection that match the provided filter.
GetCollection returns a reference to a MongoDB collection by its name.
GetOne retrieves a single document from the specified collection that matches the provided filter.
GetRange retrieves documents from the specified collection that match the provided filter, applying skip and limit for pagination.
GetUserByEmail retrieves a user from the database based on the provided email.
No description provided by the author
GetUserByEmail retrieves a user from the database based on the provided email.
UpdateMany updates multiple documents in the specified collection based on the provided filter.
UpdateOne updates a single document in the specified collection based on the provided filter.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author