database

package
v0.0.0-...-f204c81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient() (*mongo.Client, error)

Get a connection to the client (database) so that we may do funs stuff such as query, obviously!

func GetCollection

func GetCollection(collectionName string) *mongo.Collection

Get access to specific collection (table) in the database

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL