database

package module
v0.0.0-...-55670f9 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

README

Scholarship Tracker Utilities - Database

gopherbadger-tag-do-not-edit

Custom database package for Scholarship Tracker

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database interface {
	InsertOne(collectionName string, record interface{}) error
	InsertMany(collectionName string, records ...interface{}) error
	UpdateOne(collectionName string, args ...interface{}) error
	ReplaceOne(collectionName string, record interface{}) error
	FindOne(collectionName string, dest, filter interface{}) error
	Find(collectionName string, dest, filter interface{}) error
	DeleteOne(collectionName string, filter interface{}) error
	ApplyFilter(filter filters.Filter, valueTypeMap filters.ValueTypeMap, validator filters.Validator) (interface{}, error)
}

Directories

Path Synopsis
databases

Jump to

Keyboard shortcuts

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