schema

package
v0.0.0-...-52fa7fc Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SkipSoftDelete

func SkipSoftDelete(c context.Context) context.Context

SkipSoftDelete returns context for permanent record deletion

func WithSoftDeleted

func WithSoftDeleted(c context.Context) context.Context

WithSoftDeleted returns contetx with soft-deleted

Types

type Agent

type Agent struct {
	ent.Schema
}

func (Agent) Annotations

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

func (Agent) Edges

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

func (Agent) Fields

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

func (Agent) Mixin

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

type Blobber

type Blobber struct {
	ent.Schema
}

func (Blobber) Annotations

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

func (Blobber) Edges

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

func (Blobber) Fields

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

func (Blobber) Mixin

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

type Chat

type Chat struct {
	ent.Schema
}

func (Chat) Annotations

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

func (Chat) Edges

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

func (Chat) Fields

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

type Command

type Command struct {
	ent.Schema
}

func (Command) Annotations

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

func (Command) Edges

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

func (Command) Fields

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

type Credential

type Credential struct {
	ent.Schema
}

func (Credential) Annotations

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

func (Credential) Edges

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

func (Credential) Fields

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

func (Credential) Mixin

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

type Listener

type Listener struct {
	ent.Schema
}

func (Listener) Annotations

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

func (Listener) Edges

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

func (Listener) Fields

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

func (Listener) Mixin

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

type Message

type Message struct {
	ent.Schema
}

func (Message) Annotations

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

func (Message) Edges

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

func (Message) Fields

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

type Operator

type Operator struct {
	ent.Schema
}

func (Operator) Annotations

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

func (Operator) Edges

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

func (Operator) Fields

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

func (Operator) Mixin

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

type Pki

type Pki struct {
	ent.Schema
}

func (Pki) Annotations

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

func (Pki) Edges

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

func (Pki) Fields

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

func (Pki) Mixin

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

type Task

type Task struct {
	ent.Schema
}

func (Task) Annotations

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

func (Task) Edges

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

func (Task) Fields

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

type TimeMixin

type TimeMixin struct {
	mixin.Schema
}

func (TimeMixin) Fields

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

func (TimeMixin) Hooks

func (s TimeMixin) Hooks() []ent.Hook

func (TimeMixin) Interceptors

func (s TimeMixin) Interceptors() []ent.Interceptor

func (TimeMixin) P

func (s TimeMixin) P(w interface{ WhereP(...func(*sql.Selector)) })

P adds predicate for level of storing

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳