where

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasKey added in v1.3.0

func HasKey(input any, key string) (bool, error)

func Traverse

func Traverse(db *gorm.DB, where Where) *gorm.DB

Types

type Where

type Where struct {
	And []Where
	Or  []Where
	Not *Where

	Query string
	Args  []any
}

func Do

func Do(dialector, table string, tables *map[string]string, schema *string, input any) (Where, error)

Jump to

Keyboard shortcuts

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