schema

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attachment

type Attachment struct {
	ent.Schema
}

func (Attachment) Annotations

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

func (Attachment) Edges

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

func (Attachment) Fields

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

type BigInt

type BigInt struct {
	*big.Int
}

func NewBigInt

func NewBigInt(i int64) BigInt

func (*BigInt) Scan

func (b *BigInt) Scan(src interface{}) error

func (BigInt) Value

func (b BigInt) Value() (driver.Value, error)

type Group

type Group struct {
	ent.Schema
}

func (Group) Annotations

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

func (Group) Edges

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

func (Group) Fields

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

type MultiWordSchema

type MultiWordSchema struct {
	ent.Schema
}

MultiWordSchema holds the schema definition for the MultiWordSchema entity.

func (MultiWordSchema) Annotations

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

func (MultiWordSchema) Edges

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

Edges of the MultiWordSchema.

func (MultiWordSchema) Fields

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

Fields of the MultiWordSchema.

type NilExample

type NilExample struct {
	ent.Schema
}

func (NilExample) Annotations

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

func (NilExample) Fields

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

type Pet

type Pet struct {
	ent.Schema
}

func (Pet) Annotations

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

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 SkipEdgeExample

type SkipEdgeExample struct {
	ent.Schema
}

func (SkipEdgeExample) Edges

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

func (SkipEdgeExample) Fields

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

type Todo

type Todo struct {
	ent.Schema
}

Todo holds the schema definition for the Todo entity.

func (Todo) Annotations

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

func (Todo) Edges

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

Edges of the Todo.

func (Todo) Fields

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

Fields of the Todo.

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Annotations

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

func (User) Edges

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

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