schema

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account added in v0.10.1

type Account struct {
	ent.Schema
}

Account holds the schema definition for the Account entity.

func (Account) Edges added in v0.10.1

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

Edges of the Account.

func (Account) Fields added in v0.10.1

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 BlobLink struct {
	ent.Schema
}

BlobLink holds the edge schema definition for blob links.

func (BlobLink) Annotations added in v0.11.0

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

Annotations of the BlobLink.

func (BlobLink) Edges added in v0.11.0

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

Edges of the BlobLink.

func (BlobLink) Fields added in v0.11.0

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

Fields of the BlobLink.

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

type Device struct {
	ent.Schema
}

Device holds the schema definition for the Device entity.

func (Device) Edges added in v0.10.0

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

Edges of the Device.

func (Device) Fields added in v0.10.0

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

Fields of the Device.

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 any) (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 ID added in v0.10.0

type ID [64]byte

func NewID added in v0.10.0

func NewID() ID

func (*ID) Scan added in v0.10.0

func (i *ID) Scan(v any) error

func (ID) String added in v0.10.0

func (i ID) String() string

func (ID) Value added in v0.10.0

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

type IDMixin

type IDMixin struct {
	mixin.Schema
}

func (IDMixin) Fields

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

type IntSID added in v0.11.0

type IntSID struct {
	ent.Schema
}

IntSID holds the schema definition for the IntSID entity.

func (IntSID) Edges added in v0.11.0

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

Edges of the IntSid.

func (IntSID) Fields added in v0.11.0

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

Fields of the IntSid.

type Link struct {
	ent.Schema
}

Link holds the schema definition for the Link entity.

func (Link) Fields added in v0.11.3

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

Fields of the IntSid.

type LinkInformation added in v0.11.3

type LinkInformation struct {
	Name string
	Link string
}

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 Other added in v0.10.1

type Other struct {
	ent.Schema
}

Other holds the schema definition for the Other entity.

func (Other) Fields added in v0.10.1

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 Revision added in v0.11.0

type Revision struct {
	ent.Schema
}

Revision holds the schema definition for the Revision entity.

func (Revision) Fields added in v0.11.0

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

Fields of the Revision.

type Session added in v0.10.0

type Session struct {
	ent.Schema
}

Session holds the schema definition for the Session entity.

func (Session) Edges added in v0.10.0

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

Edges of the Session.

func (Session) Fields added in v0.10.0

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

Fields of the Session.

type Token added in v0.10.1

type Token struct {
	ent.Schema
}

Token holds the schema definition for the Token entity.

func (Token) Edges added in v0.10.1

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

Edges of the Token.

func (Token) Fields added in v0.10.1

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