orm

package
v0.0.0-...-3b7be81 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDBConnNotEstablished = errors.New("database connection not established")

Functions

This section is empty.

Types

type Inserter

type Inserter interface {
	SQLParamsRequest() []string
}

type ORM

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

func NewORM

func NewORM(schema string, ctx *context.Context) (*ORM, error)

func (*ORM) InsertInto

func (o *ORM) InsertInto(target string, data Inserter) (interface{}, error)

func (*ORM) Update

func (o *ORM) Update(target string, writeData Inserter) (interface{}, error)

Jump to

Keyboard shortcuts

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