dialect

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: BSD-2-Clause Imports: 7 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendBool

func AppendBool(b []byte, v bool) []byte

func AppendBytes

func AppendBytes(b []byte, bytes []byte) []byte

func AppendError

func AppendError(b []byte, err error) []byte

func AppendFloat32

func AppendFloat32(b []byte, v float32) []byte

func AppendFloat64

func AppendFloat64(b []byte, v float64) []byte

func AppendIdent

func AppendIdent(b []byte, field string, quote byte) []byte

func AppendJSON

func AppendJSON(b, jsonb []byte) []byte

func AppendNull

func AppendNull(b []byte) []byte

func AppendString

func AppendString(b []byte, s string) []byte

func AppendTime

func AppendTime(b []byte, tm time.Time) []byte

Types

type Name added in v0.2.14

type Name int
const (
	Invalid Name = iota
	PG
	SQLite
	MySQL5
	MySQL8
)

func (Name) String added in v0.2.14

func (n Name) String() string

Directories

Path Synopsis
mssqldialect module
mysqldialect module
pgdialect module

Jump to

Keyboard shortcuts

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