dialects

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDialector

func RegisterDialector(name string, dialect Dialector)

Types

type Dialector

type Dialector interface {
	SetQueryer(queryer Queryer)
	QuoteTo(clause.Writer, string)
	BindVarTo(writer clause.Writer, varIndex int, v interface{})
	PKColumnNames(table string) []string
	LastInsertIDReversed() bool
	WithReturning() bool
}

func GetDialector

func GetDialector(name string) (dialect Dialector, ok bool)

type Queryer

type Queryer interface {
	QueryRow(query string, args ...interface{}) *sqlx.Row
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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