schema

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterEdges

func FilterEdges(s fluent.Interface, filters ...string) fluent.Interface

func FilterFields

func FilterFields(s fluent.Interface, filters ...string) fluent.Interface

Types

type BillProduct

type BillProduct struct {
	fluent.Schema
}

BillProduct holds the schema definition for the BillProduct entity.

func (BillProduct) Annotations

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

Annotations returns BillProduct annotations.

func (BillProduct) Fields

func (BillProduct) Fields() []fluent.Field

Fields of the BillProduct.

type Category

type Category struct {
	fluent.Schema
}

Category holds the schema definition for the Category entity.

func (Category) Annotations

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

Annotations returns Todo annotations.

func (Category) Edges

func (Category) Edges() []fluent.Edge

Edges of the Category.

func (Category) Fields

func (Category) Fields() []fluent.Field

Fields of the Category.

type Friendship

type Friendship struct {
	fluent.Schema
}

Friendship holds the edge schema definition of the Friendship relationship.

func (Friendship) Annotations

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

Annotations of the Friendship.

func (Friendship) Edges

func (Friendship) Edges() []fluent.Edge

Edges of the Friendship.

func (Friendship) Fields

func (Friendship) Fields() []fluent.Field

Fields of the Friendship.

type Group

type Group struct {
	fluent.Schema
}

Group holds the schema definition for the Group entity.

func (Group) Annotations

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

Annotations returns Group annotations.

func (Group) Edges

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

Edges of the Group.

func (Group) Fields

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

Fields of the Group.

type OneToMany

type OneToMany struct {
	fluent.Schema
}

OneToMany holds the schema definition for the OneToMany entity.

func (OneToMany) Annotations

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

func (OneToMany) Edges

func (OneToMany) Edges() []fluent.Edge

Edges of the OneToMany.

func (OneToMany) Fields

func (OneToMany) Fields() []fluent.Field

Fields of the OneToMany.

type Project

type Project struct {
	fluent.Schema
}

Project holds the schema definition for the GroupTodo entity.

func (Project) Edges

func (Project) Edges() []fluent.Edge

Edges of the Project.

type Todo

type Todo struct {
	fluent.Schema
}

Todo defines the todo type schema.

func (Todo) Annotations

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

Annotations returns Todo annotations.

func (Todo) Edges

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

Edges returns todo edges.

func (Todo) Fields

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

Fields returns todo fields.

type User

type User struct {
	fluent.Schema
}

User holds the schema definition for the User entity.

func (User) Annotations

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

Annotations returns User annotations.

func (User) Edges

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

Edges of the User.

func (User) Fields

func (User) Fields() []fluent.Field

Fields of the User.

type VerySecret

type VerySecret struct {
	fluent.Schema
}

VerySecret defines the very secret type schema.

func (VerySecret) Annotations

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

func (VerySecret) Fields

func (VerySecret) Fields() []fluent.Field

Fields returns private fields.

type Workspace

type Workspace struct {
	fluent.Schema
}

Workspace defines the workspace type schema.

func (Workspace) Annotations

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

func (Workspace) Fields

func (Workspace) Fields() []fluent.Field

Fields returns workspace fields.

Directories

Path Synopsis
Package schematype provides custom types for ent/schema.
Package schematype provides custom types for ent/schema.

Jump to

Keyboard shortcuts

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