schema

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blog added in v0.11.3

type Blog struct{ ent.Schema }

Blog schema.

func (Blog) Edges added in v0.11.3

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

func (Blog) Fields added in v0.11.3

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

type Car

type Car struct {
	ent.Schema
}

func (Car) Annotations added in v0.10.1

func (Car) Annotations() []schema.Annotation

Annotations of the Car.

func (Car) Edges

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

func (Car) Fields added in v0.11.0

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

type Conversion

type Conversion struct {
	ent.Schema
}

Conversion holds the schema definition for the Conversion entity.

func (Conversion) Fields

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

Fields of the Conversion.

type CustomType

type CustomType struct {
	ent.Schema
}

CustomType holds the schema definition for the CustomType entity.

func (CustomType) Fields

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

Fields of the CustomType.

type Group

type Group struct{ ent.Schema }

Group schema.

type Media

type Media struct {
	ent.Schema
}

Media holds the schema definition for the Media entity.

func (Media) Annotations added in v0.9.0

func (Media) Annotations() []schema.Annotation

Annotations of the Media.

func (Media) Fields

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

Fields of the Media.

func (Media) Indexes

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

Indexes of the Media.

type Mixin

type Mixin struct {
	mixin.Schema
}

func (Mixin) Fields

func (m Mixin) Fields() []ent.Field

type Pet

type Pet struct {
	ent.Schema
}

Pet schema.

func (Pet) Edges

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

func (Pet) Fields added in v0.11.0

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

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Edges

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

func (User) Fields

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

Fields of the User.

func (User) Indexes

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

func (User) Mixin

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

type Zoo added in v0.11.5

type Zoo struct {
	ent.Schema
}

Zoo holds the schema definition for the Zoo entity.

func (Zoo) Fields added in v0.11.5

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

Fields of the Zoo.

Jump to

Keyboard shortcuts

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