schema

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig added in v0.12.0

type AppConfig struct {
	ent.Schema
}

AppConfig struct extends ent.Schema to describe the AppConfig database table.

func (AppConfig) Annotations added in v0.12.0

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

Annotations function adds annotations to the AppConfig schema.

func (AppConfig) Edges added in v0.12.0

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

Edges function defines the relations/edges of the AppConfig schema.

func (AppConfig) Indexes added in v0.12.0

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

Indexes function defines the indexed fields for faster queries on the AppConfig schema.

func (AppConfig) Mixin added in v0.12.0

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

Mixin function defines the mixins to be incorporated into the AppConfig schema.

type AppConfigMixin added in v0.12.0

type AppConfigMixin struct {
	mixin.Schema
}

AppConfigMixin is a struct with embedded mixin.Schema (a predefined structure)

func (AppConfigMixin) Fields added in v0.12.0

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

Fields method defines the fields within the AppConfig database table.

type Benchmark

type Benchmark struct {
	ent.Schema
}

Benchmark struct extends ent.Schema to describe the Benchmark database table.

func (Benchmark) Annotations

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

Annotations function adds annotations to the Benchmark schema.

func (Benchmark) Edges

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

Edges function defines the relations/edges of the Benchmark schema.

func (Benchmark) Indexes

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

Indexes function defines the indexed fields for faster queries on the Benchmark schema.

func (Benchmark) Mixin

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

Mixin function defines the mixins to be incorporated into the Benchmark schema.

type BenchmarkMixin

type BenchmarkMixin struct {
	mixin.Schema
}

BenchmarkMixin is a struct with embedded mixin.Schema (a predefined structure)

func (BenchmarkMixin) Fields

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

Fields method defines the fields within the Benchmark database table.

type BenchmarkResult

type BenchmarkResult struct {
	ent.Schema
}

BenchmarkResult struct that extend ent.Schema, defines the BenchmarkResult table in the database.

func (BenchmarkResult) Annotations

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

Annotations function adds annotations to the BenchmarkResult schema.

func (BenchmarkResult) Edges

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

Edges function defines the relations/edges of the BenchmarkResult schema.

func (BenchmarkResult) Mixin

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

Mixin function that defines the mixins to be incorporated into the BenchmarkResult schema.

type BenchmarkResultMixin

type BenchmarkResultMixin struct {
	mixin.Schema
}

BenchmarkResultMixin is a struct with embedded mixin.Schema (a predefined structure).

func (BenchmarkResultMixin) Fields

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

Fields method that defines the fields within the BenchmarkResult database table.

type SystemConfig added in v0.12.0

type SystemConfig struct {
	ent.Schema
}

SystemConfig struct extends ent.Schema, defines the SystemConfig table in the database.

func (SystemConfig) Annotations added in v0.12.0

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

Annotations function adds annotations to the SystemConfig schema.

func (SystemConfig) Edges added in v0.12.0

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

Edges function defines the relations/edges of the SystemConfig schema.

func (SystemConfig) Indexes added in v0.12.0

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

Indexes function defines the indexed fields for faster queries on the SystemConfig schema.

func (SystemConfig) Mixin added in v0.12.0

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

Mixin function defines the mixins to be incorporated into the SystemConfig schema.

type SystemConfigMixin added in v0.12.0

type SystemConfigMixin struct {
	mixin.Schema
}

SystemConfigMixin is a struct with embedded mixin.Schema.

func (SystemConfigMixin) Fields added in v0.12.0

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

Fields method defines the fields within the SystemConfig database table.

type SystemMetric

type SystemMetric struct {
	ent.Schema
}

SystemMetric struct extends ent.Schema, defines the SystemMetric table in the database.

func (SystemMetric) Annotations

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

Annotations function adds annotations to the SystemMetric schema.

func (SystemMetric) Edges

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

Edges function defines the relations/edges of the SystemMetric schema.

func (SystemMetric) Mixin

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

Mixin function defines the mixins to be incorporated into the SystemMetric schema.

type SystemMetricMixin

type SystemMetricMixin struct {
	mixin.Schema
}

SystemMetricMixin is a struct with embedded mixin.Schema.

func (SystemMetricMixin) Fields

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

Fields method defines the fields within the SystemMetric database table.

Directories

Path Synopsis
Package pulid implements the pulid type.
Package pulid implements the pulid type.

Jump to

Keyboard shortcuts

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