schema

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Car

type Car struct {
	ent.Schema
}

func (Car) Edges

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

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

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

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

Jump to

Keyboard shortcuts

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