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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ent.Schema
}

Account holds the schema definition for the Account entity.

func (Account) Edges

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

Edges of the Account.

func (Account) Fields

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

Fields of the Account.

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 Device

type Device struct {
	ent.Schema
}

Device holds the schema definition for the Device entity.

func (Device) Edges

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

Edges of the Device.

func (Device) Fields

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

Fields of the Device.

type Doc

type Doc struct {
	ent.Schema
}

Doc holds the schema definition for the Doc entity.

func (Doc) Edges

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

Edges of the Doc.

func (Doc) Fields

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

Fields of the Doc.

type DocID

type DocID string

func (*DocID) Scan

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

Scan implements the Scanner interface.

func (DocID) Value

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 ID

type ID [64]byte

func NewID

func NewID() ID

func (*ID) Scan

func (i *ID) Scan(v interface{}) error

func (ID) String

func (i ID) String() string

func (ID) Value

func (i ID) Value() (driver.Value, error)

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

type Note struct {
	ent.Schema
}

Note holds the schema definition for the Note entity.

func (Note) Edges

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

Edges of the Note.

func (Note) Fields

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

Fields of the Note.

type NoteID

type NoteID string

type Other

type Other struct {
	ent.Schema
}

Other holds the schema definition for the Other entity.

func (Other) Fields

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

Fields of the Other.

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 Session

type Session struct {
	ent.Schema
}

Session holds the schema definition for the Session entity.

func (Session) Edges

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

Edges of the Session.

func (Session) Fields

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

Fields of the Session.

type Token

type Token struct {
	ent.Schema
}

Token holds the schema definition for the Token entity.

func (Token) Edges

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

Edges of the Token.

func (Token) Fields

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

Fields of the Token.

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