schema

package
v0.0.0-...-23bdc36 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbInstance

type DbInstance struct {
	ent.Schema
}

DbInstance holds the schema definition for the DbInstance entity.

func (DbInstance) Annotations

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

Annotations of the DBInstance.

func (DbInstance) Edges

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

Edges of the DbInstance.

func (DbInstance) Fields

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

Fields /*** Fields of the DbInstance.

func (DbInstance) Mixin

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

type TimeMixin

type TimeMixin struct {
	// We embed the `mixin.Schema` to avoid
	// implementing the rest of the methods.
	mixin.Schema
}

TimeMixin implements the ent.Mixin for sharing time fields with package schemas.

func (TimeMixin) Fields

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

Jump to

Keyboard shortcuts

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