utils

package
v0.0.0-...-bcab678 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssociationDB

func AssociationDB(assoc *Association) *DB

func Instance

func Instance(*DB) *DB

Types

type AssociationManager

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

func NewAssociationManager

func NewAssociationManager(assoc *Association) *AssociationManager

type RawColumn

type RawColumn struct {
	Table, Name, Query string
}

func SetRawColumn

func SetRawColumn(table, name, query string) *RawColumn

func (*RawColumn) Build

func (r *RawColumn) Build(builder clause.Builder)

func (*RawColumn) ModifyStatement

func (r *RawColumn) ModifyStatement(stmt *gorm.Statement)

Jump to

Keyboard shortcuts

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