schema

package
Version: 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 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 Doc added in v0.9.0

type Doc struct {
	ent.Schema
}

Doc holds the schema definition for the Doc entity.

func (Doc) Edges added in v0.9.0

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

Edges of the Doc.

func (Doc) Fields added in v0.9.0

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

Fields of the Doc.

type DocID added in v0.9.0

type DocID string

func (*DocID) Scan added in v0.9.0

func (s *DocID) Scan(value interface{}) (err error)

Scan implements the Scanner interface.

func (DocID) Value added in v0.9.0

func (s DocID) Value() (driver.Value, error)

Value implements the driver Valuer interface.

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 Note added in v0.9.0

type Note struct {
	ent.Schema
}

Note holds the schema definition for the Note entity.

func (Note) Edges added in v0.9.0

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

Edges of the Note.

func (Note) Fields added in v0.9.0

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

Fields of the Note.

type NoteID added in v0.9.0

type NoteID string

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL