where

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteWhere

func WriteWhere(
	sw io.StringWriter,
	p []predicates.Predicate,
) error

WriteWhere writes a where clause to the given string writer and returns the args.

Types

type Where

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

UpdateWriter writes a SQL Update string.

func New

func New(predicates []predicates.Predicate) *Where

New

func (*Where) Type

func (w *Where) Type() clauses.ClauseType

func (*Where) Write added in v0.0.3

func (w *Where) Write(sw io.StringWriter) error

Jump to

Keyboard shortcuts

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