schema

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VersionHook

func VersionHook() ent.Hook

Types

type Card

type Card struct {
	ent.Schema
}

Card holds the schema definition for the CreditCard entity.

func (Card) Edges

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

func (Card) Fields

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

func (Card) Hooks

func (Card) Hooks() []ent.Hook

func (Card) Mixin

func (Card) Mixin() []ent.Mixin

type RejectUpdate

type RejectUpdate struct {
	mixin.Schema
}

RejectMany rejects all update operations that are not on a specific entity.

func (RejectUpdate) Hooks

func (RejectUpdate) Hooks() []ent.Hook

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Edges

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

Edges of the User.

func (User) Fields

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

Fields of the User.

func (User) Hooks

func (User) Hooks() []ent.Hook

Hooks of the User.

func (User) Mixin

func (User) Mixin() []ent.Mixin

Mixin of the User.

type VersionMixin

type VersionMixin struct {
	mixin.Schema
}

func (VersionMixin) Fields

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

func (VersionMixin) Hooks

func (VersionMixin) Hooks() []ent.Hook

Jump to

Keyboard shortcuts

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