schema

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Object

type Object struct {
	ent.Schema
}

Object holds the schema definition for the Object entity.

func (Object) Edges

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

Edges of the Object.

func (Object) Fields

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

Fields of the Object.

func (Object) Indexes

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

type Reference

type Reference struct {
	ent.Schema
}

Reference holds the schema definition for the Reference entity.

func (Reference) Edges

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

Edges of the Reference.

func (Reference) Fields

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

Fields of the Reference.

func (Reference) Indexes

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

Jump to

Keyboard shortcuts

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