Categorygithub.com/eduardohitek/golang-mongo-common
modulepackage
1.8.1
Repository: https://github.com/eduardohitek/golang-mongo-common.git
Documentation: pkg.go.dev

# README

Golang Mongo Common

GitHub repo size GitHub Repo stars GitHub issues

Provide some Helpers functions for MongoDB use with Golang.

⚠️ License

Copyright (c) 2019-present Eduardo Hitek. Golang Mongo Common is free and open-source software licensed under the MIT License.

# Functions

Create an index with the provide name and condition.
Deletes one or many document by the informed filter.
Deletes one document by the informed filter.
Deletes a document by the informed ID.
Find one or more documents by the provided filter.
Find one document by the provided filter.
Insert many documents.
Insert one document.
Returns an authenticated mongodb client.
Return an autheticated mongodb client for Mongo Atlas.
Returns a non-authenticated mongodb client.
Returns the total number of documents in one collection.
Update a document by the provided ID.
Update one or more documents by the provided filter.
Update one document by the provided filter.

# Constants

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