orm

package
v1.12.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunMigration

func RunMigration(c *sql.Conn, logger *slog.Logger, name string, migrationFn migrationFn) error

Types

type Filter

type Filter struct {
	Key string

	Cmp string
	// contains filtered or unexported fields
}

func FilterContains

func FilterContains(key string, arg any) Filter

func FilterEq

func FilterEq(key string, arg any) Filter

func FilterGte

func FilterGte(key string, arg any) Filter

func FilterIn

func FilterIn(key string, arg any) Filter

func FilterIs

func FilterIs(key string, arg any) Filter

func FilterIsNot

func FilterIsNot(key string, arg any) Filter

func FilterLike

func FilterLike(key string, arg any) Filter

func FilterLte

func FilterLte(key string, arg any) Filter

func FilterNotEq

func FilterNotEq(key string, arg any) Filter

func FilterNotLike

func FilterNotLike(key string, arg any) Filter

func (Filter) Arg

func (f Filter) Arg() []any

func (Filter) Condition

func (f Filter) Condition() string

Source Files

  • orm.go

Jump to

Keyboard shortcuts

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