gormgen

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTable

func GenerateTable(tables []string)

Types

type Method

type Method interface {
	// GetParentIdsByGroupParentId
	// SELECT GROUP_CONCAT(a.parent_id) AS parent_ids from (SELECT parent_id  FROM category  GROUP BY parent_id)  as a
	GetParentIdsByGroupParentId() (gen.M, error)
}

Method 根据动态 sql 生成 orm

Jump to

Keyboard shortcuts

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