schema

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 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 Friendship

type Friendship struct {
	ent.Schema
}

Friendship holds the edge schema definition of the Friendship relationship.

func (Friendship) Edges

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

Edges of the Friendship.

func (Friendship) Fields

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

Fields of the Friendship.

func (Friendship) Indexes

func (Friendship) Indexes() []ent.Index

Indexes of the Friendship.

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 GroupTag

type GroupTag struct {
	ent.Schema
}

GroupTag holds the schema definition for the GroupTag entity.

func (GroupTag) Edges

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

Edges of the GroupTag.

func (GroupTag) Fields

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

Fields of the GroupTag.

type Relationship

type Relationship struct {
	ent.Schema
}

Relationship holds the schema definition for the Relationship entity.

func (Relationship) Annotations

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

func (Relationship) Edges

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

Edges of the Relationship.

func (Relationship) Fields

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

Fields of the Relationship.

func (Relationship) Indexes

func (Relationship) Indexes() []ent.Index

Indexes of the Relationship.

func (Relationship) Policy

func (Relationship) Policy() ent.Policy

Policy defines the privacy policy of the Relationship.

type RelationshipInfo

type RelationshipInfo struct {
	ent.Schema
}

RelationshipInfo holds the schema definition for the RelationshipInfo entity.

func (RelationshipInfo) Fields

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

Fields of the RelationshipInfo.

type Role

type Role struct {
	ent.Schema
}

Role holds the schema definition for the Role entity.

func (Role) Edges

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

Edges of the Role.

func (Role) Fields

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

Fields of the Role.

type RoleUser

type RoleUser struct {
	ent.Schema
}

RoleUser holds the schema definition for the RoleUser entity.

func (RoleUser) Annotations

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

func (RoleUser) Edges

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

Edges of the RoleUser.

func (RoleUser) Fields

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

Fields of the RoleUser.

type Tag

type Tag struct {
	ent.Schema
}

Tag holds the schema definition for the Tag entity.

func (Tag) Edges

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

Edges of the Tag.

func (Tag) Fields

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

Fields of the Tag.

type Tweet

type Tweet struct {
	ent.Schema
}

Tweet holds the schema definition for the Tweet entity.

func (Tweet) Edges

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

Edges of the Tweet.

func (Tweet) Fields

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

Fields of the Tweet.

type TweetLike

type TweetLike struct {
	ent.Schema
}

TweetLike holds the schema definition for the TweetLike entity.

func (TweetLike) Annotations

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

func (TweetLike) Edges

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

Edges of the TweetLike.

func (TweetLike) Fields

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

Fields of the TweetLike.

func (TweetLike) Policy

func (TweetLike) Policy() ent.Policy

Policy defines the privacy policy of the TweetLike.

type TweetTag

type TweetTag struct {
	ent.Schema
}

TweetTag holds the schema definition for the TweetTag entity.

func (TweetTag) Edges

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

Edges of the TweetTag.

func (TweetTag) Fields

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

Fields of the TweetTag.

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.

func (User) Policy

func (User) Policy() ent.Policy

Policy defines the privacy policy of the User.

type UserGroup

type UserGroup struct {
	ent.Schema
}

UserGroup holds the schema definition for the UserGroup entity.

func (UserGroup) Edges

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

Edges of the UserGroup.

func (UserGroup) Fields

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

Fields of the UserGroup.

type UserTweet

type UserTweet struct {
	ent.Schema
}

UserTweet holds the schema definition for the UserTweet entity.

func (UserTweet) Edges

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

Edges of the UserTweet.

func (UserTweet) Fields

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

Fields of the UserTweet.

func (UserTweet) Indexes

func (UserTweet) Indexes() []ent.Index

Indexes of the UserTweet.

Jump to

Keyboard shortcuts

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