dml

package
v0.0.0-...-28ac8a9 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	DB *sql.DB
}

func (*Builder) Delete

func (D *Builder) Delete()

func (*Builder) Insert

func (D *Builder) Insert() InsertService

func (*Builder) Update

func (D *Builder) Update()

type InsertQuery

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

func (*InsertQuery) Into

func (i *InsertQuery) Into(name string) insert.Service

type InsertService

type InsertService interface {
	Into(name string) insert.Service
}

func NewInsertQuery

func NewInsertQuery(builder *Builder) InsertService

type Service

type Service interface {
	Insert() InsertService
	Update()
	Delete()
}

func NewBuilder

func NewBuilder(db *sql.DB) Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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