schema

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package schema contains the ent schema

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	ent.Schema
}

Database holds the example schema definition for the Database entity

func (Database) Annotations

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

Annotations of the Database

func (Database) Edges

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

Edges of the Database

func (Database) Fields

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

Fields of the Database

func (Database) Hooks

func (Database) Hooks() []ent.Hook

Hooks of the Database

func (Database) Indexes

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

Indexes of the Database

func (Database) Mixin

func (Database) Mixin() []ent.Mixin

Mixin of the Database

type Group

type Group struct {
	ent.Schema
}

Group holds the schema definition for the Group entity

func (Group) Annotations

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

Annotations of the Group

func (Group) Edges

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

Edges of the Database

func (Group) Fields

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

Fields of the Group

func (Group) Hooks

func (Group) Hooks() []ent.Hook

Hooks of the Group

func (Group) Indexes

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

func (Group) Mixin

func (Group) Mixin() []ent.Mixin

Mixin of the Group

Jump to

Keyboard shortcuts

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