meta

package
v0.0.0-...-dfb541f Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DaoStruct

type DaoStruct struct {
	QueryPkgName    string // 包名
	QueryStructList []*QueryStruct
}

func ParseDaoStruct

func ParseDaoStruct(QueryPkgName string, queryStructList []*QueryStruct) *DaoStruct

type QueryStruct

type QueryStruct struct {
	Schema *schema.Schema

	QueryPkgName string // 包名
	Name         string // Model对象名称
	StructName   string // 小写开头的Model名称
	WhereFns     []*method.Method
	OrderFns     []*method.Method
}

func ParseQueryStruct

func ParseQueryStruct(QueryPkgName string, s *schema.Schema) (*QueryStruct, error)

ParseQueryStruct 解析Query对象

Jump to

Keyboard shortcuts

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