clause

package
v0.0.0-...-8a62f83 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clause

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

func (*Clause) Build

func (c *Clause) Build(orders ...Type) (string, []interface{})

按顺序拼接

func (*Clause) Set

func (c *Clause) Set(name Type, vars ...interface{})

设置语法块

type Type

type Type int
const (
	INSERT Type = iota
	VALUES
	SELECT
	LIMIT
	WHERE
	ORDERBY
	UPDATE
	DELETE
	COUNT
)

Jump to

Keyboard shortcuts

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