schema

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseMixin

type BaseMixin struct {
	mixin.Schema
}

BaseMixin holds the schema definition for the BaseMixin entity.

func (BaseMixin) Fields

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

Fields of the Mixin.

type Blob

type Blob struct {
	ent.Schema
}

Blob holds the schema definition for the Blob entity.

func (Blob) Edges

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

Edges of the Blob.

func (Blob) Fields

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

Fields of the Blob.

type Car

type Car struct {
	ent.Schema
}

Car holds the schema definition for the Car entity.

func (Car) Edges

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

Edges of the Car.

func (Car) Fields

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

Fields of the Car.

func (Car) Mixin

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

Mixin of the Car.

type Group

type Group struct {
	ent.Schema
}

Group holds the schema definition for the Group entity.

func (Group) Edges

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

Edges of the Group.

func (Group) Fields

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

Fields of the Group.

type IDMixin

type IDMixin struct {
	mixin.Schema
}

func (IDMixin) Fields

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

type MixinID

type MixinID struct {
	ent.Schema
}

MixinID holds the schema definition for the MixinID entity.

func (MixinID) Fields

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

Fields of the MixinID.

func (MixinID) Indexes

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

Indexes of the MixinID

func (MixinID) Mixin

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

Mixin of MixinID

type Pet

type Pet struct {
	ent.Schema
}

Pet holds the schema definition for the Pet entity.

func (Pet) Edges

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

Edges of the Pet.

func (Pet) Fields

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

Fields of the Pet.

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.

Jump to

Keyboard shortcuts

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