dialect

package
v0.0.0-...-b45a7ae Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPostgresDialect

func NewPostgresDialect() postgresDialect

func NewSqlite3Dialect

func NewSqlite3Dialect() sqlite3Dialect

Types

type ColumnCreateSpecification

type ColumnCreateSpecification string

type Dialect

type Dialect interface {
	PrimaryKeyColumnCreateSpecification() ColumnCreateSpecification

	ExecCreateWithReturningId(db *sqlx.DB, tx *sql.Tx, stmtStr string, values []interface{}) (int64, error)

	BlobType() string
}

func New

func New(driver string) Dialect

Jump to

Keyboard shortcuts

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