sqlBuilder

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SqlQuery

type SqlQuery interface {
	InsertInto(table string) SqlQuery
	Update(table string) SqlQuery
	DeleteFrom(table string) SqlQuery
	Fields(fields ...string) SqlQuery
	Values(values ...string) SqlQuery
	Set(values ...string) SqlQuery

	Select(columns ...string) SqlQuery
	From(tables ...string) SqlQuery
	Where(conditions ...string) SqlQuery
	OrderBy(columns ...string) SqlQuery
	Join(tables ...string) SqlQuery
	On(conditions ...string) SqlQuery

	Limit(limit string) SqlQuery
	Offset(offset string) SqlQuery
	Build() string
}

func NewSqlQuery

func NewSqlQuery() SqlQuery

Jump to

Keyboard shortcuts

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