sql

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func And

func And(clauses ...QueryClause) *andQueryClause

TODO: change composite to support in...

func Eq

func Eq(col string, value interface{}) *simpleQueryClause

func In

func In(col string, vals ...interface{}) *inClause

func Or

func Or(clauses ...QueryClause) *orQueryClause

Types

type InClause

type InClause interface {
	RebindInClause() bool
}

type QueryClause

type QueryClause interface {
	GetClause() string
	GetValues() []interface{}
}

TODO

Jump to

Keyboard shortcuts

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