schema

package
v0.0.0-...-2b4f063 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: GPL-3.0 Imports: 18 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 контекст, который позволит удалить полностью запись

func WithSoftDeleted

func WithSoftDeleted(c context.Context) context.Context

WithSoftDeleted контекст, который позволит добавить в выборку soft-deleted записи

Types

type Beacon

type Beacon struct {
	ent.Schema
}

func (Beacon) Annotations

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

func (Beacon) Edges

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

func (Beacon) Fields

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

func (Beacon) Mixin

func (Beacon) 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 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 Group

type Group struct {
	ent.Schema
}

func (Group) Annotations

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

func (Group) Edges

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

func (Group) Fields

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

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 добавление предиката для уровня хранения (используется в запросах и мутациях)

Jump to

Keyboard shortcuts

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