schema

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FuncEdge

type FuncEdge struct {
	ent.Schema
}

生成ent对象,不使用外键关联

func (FuncEdge) Edges

func (FuncEdge) Edges() []ent.Edge

func (FuncEdge) Fields

func (FuncEdge) Fields() []ent.Field

func (FuncEdge) Indexes

func (FuncEdge) Indexes() []ent.Index

type FuncNode

type FuncNode struct {
	ent.Schema
}

FuncNode holds the schema definition for the FuncNode entity.

func (FuncNode) Edges

func (FuncNode) Edges() []ent.Edge

Edges of the FuncNode.

func (FuncNode) Fields

func (FuncNode) Fields() []ent.Field

Fields of the FuncNode.

func (FuncNode) Indexes

func (FuncNode) Indexes() []ent.Index

Indexes of the FuncNode.

Jump to

Keyboard shortcuts

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