scopes

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Where xWhere

Functions

func Column added in v1.0.5

func Column(column any) clause.Column

func RegisterPlugin

func RegisterPlugin(db *gorm.DB) (err error)

func Table added in v1.0.5

func Table(tbl ...any) clause.Table

Types

type FieldValue added in v1.0.5

type FieldValue struct{ Field, Value any }

type FieldValues added in v1.0.5

type FieldValues struct{ Field, Values []any }

type Scope

type Scope = func(db *gorm.DB) *gorm.DB

func Sum added in v1.0.5

func Sum(column string) Scope

Jump to

Keyboard shortcuts

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