db

package
v0.8.3-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package db provides database helper functions.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotUpdated      = errors.New("cannot find record to update")
	ErrMultipleUpdated = errors.New("multiple records updated")
)

Functions

func IN

func IN(vals []string) string

["a","b"] -> "'a','b'"

Types

type ErrNotFound

type ErrNotFound struct {
	// contains filtered or unexported fields
}

func NewErrNotFound

func NewErrNotFound(resource string) ErrNotFound

func (ErrNotFound) Error

func (e ErrNotFound) Error() string

Jump to

Keyboard shortcuts

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