params

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToStmt

func ToStmt(c *gin.Context, params, p string, modelSchema *schema.Schema, alias string, conds *Conditions, allowed map[string]struct{}) message.Message

Types

type Conditions

type Conditions struct {
	// Types: N nested, I inner join, O outer join, 0 join, M mixed - nested and join
	Type   string
	Query  string
	Args   []interface{}
	Nested map[string]*Conditions
}

func (*Conditions) NextNested

func (c *Conditions) NextNested() map[string]*Conditions

type NextNesterer

type NextNesterer[NestedType any] interface {
	NextNested() map[string]NestedType
}

Jump to

Keyboard shortcuts

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