metadataformat

package
v0.0.0-...-ab1f78f Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the metadataformat type in the database.
	Label = "metadata_format"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldPrefix holds the string denoting the prefix field in the database.
	FieldPrefix = "prefix"
	// FieldSchema holds the string denoting the schema field in the database.
	FieldSchema = "schema"
	// FieldNamespace holds the string denoting the namespace field in the database.
	FieldNamespace = "namespace"
	// EdgeRecords holds the string denoting the records edge name in mutations.
	EdgeRecords = "records"
	// Table holds the table name of the metadataformat in the database.
	Table = "metadata_formats"
	// RecordsTable is the table that holds the records relation/edge.
	RecordsTable = "records"
	// RecordsInverseTable is the table name for the Record entity.
	// It exists in this package in order to avoid circular dependency with the "record" package.
	RecordsInverseTable = "records"
	// RecordsColumn is the table column denoting the records relation/edge.
	RecordsColumn = "metadata_format_id"
)

Variables

Columns holds all SQL columns for metadataformat fields.

Functions

func And

And groups predicates with the AND operator between them.

func HasRecords

func HasRecords() predicate.MetadataFormat

HasRecords applies the HasEdge predicate on the "records" edge.

func HasRecordsWith

func HasRecordsWith(preds ...predicate.Record) predicate.MetadataFormat

HasRecordsWith applies the HasEdge predicate on the "records" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.MetadataFormat

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.MetadataFormat

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.MetadataFormat

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.MetadataFormat

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.MetadataFormat

IDNotIn applies the NotIn predicate on the ID field.

func Namespace

func Namespace(v string) predicate.MetadataFormat

Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.

func NamespaceContains

func NamespaceContains(v string) predicate.MetadataFormat

NamespaceContains applies the Contains predicate on the "namespace" field.

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.MetadataFormat

NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.

func NamespaceEQ

func NamespaceEQ(v string) predicate.MetadataFormat

NamespaceEQ applies the EQ predicate on the "namespace" field.

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.MetadataFormat

NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.

func NamespaceGT

func NamespaceGT(v string) predicate.MetadataFormat

NamespaceGT applies the GT predicate on the "namespace" field.

func NamespaceGTE

func NamespaceGTE(v string) predicate.MetadataFormat

NamespaceGTE applies the GTE predicate on the "namespace" field.

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.MetadataFormat

NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.MetadataFormat

NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.

func NamespaceIn

func NamespaceIn(vs ...string) predicate.MetadataFormat

NamespaceIn applies the In predicate on the "namespace" field.

func NamespaceLT

func NamespaceLT(v string) predicate.MetadataFormat

NamespaceLT applies the LT predicate on the "namespace" field.

func NamespaceLTE

func NamespaceLTE(v string) predicate.MetadataFormat

NamespaceLTE applies the LTE predicate on the "namespace" field.

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.MetadataFormat

NamespaceNEQ applies the NEQ predicate on the "namespace" field.

func NamespaceNotIn

func NamespaceNotIn(vs ...string) predicate.MetadataFormat

NamespaceNotIn applies the NotIn predicate on the "namespace" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Prefix

Prefix applies equality check predicate on the "prefix" field. It's identical to PrefixEQ.

func PrefixContains

func PrefixContains(v string) predicate.MetadataFormat

PrefixContains applies the Contains predicate on the "prefix" field.

func PrefixContainsFold

func PrefixContainsFold(v string) predicate.MetadataFormat

PrefixContainsFold applies the ContainsFold predicate on the "prefix" field.

func PrefixEQ

func PrefixEQ(v string) predicate.MetadataFormat

PrefixEQ applies the EQ predicate on the "prefix" field.

func PrefixEqualFold

func PrefixEqualFold(v string) predicate.MetadataFormat

PrefixEqualFold applies the EqualFold predicate on the "prefix" field.

func PrefixGT

func PrefixGT(v string) predicate.MetadataFormat

PrefixGT applies the GT predicate on the "prefix" field.

func PrefixGTE

func PrefixGTE(v string) predicate.MetadataFormat

PrefixGTE applies the GTE predicate on the "prefix" field.

func PrefixHasPrefix

func PrefixHasPrefix(v string) predicate.MetadataFormat

PrefixHasPrefix applies the HasPrefix predicate on the "prefix" field.

func PrefixHasSuffix

func PrefixHasSuffix(v string) predicate.MetadataFormat

PrefixHasSuffix applies the HasSuffix predicate on the "prefix" field.

func PrefixIn

func PrefixIn(vs ...string) predicate.MetadataFormat

PrefixIn applies the In predicate on the "prefix" field.

func PrefixLT

func PrefixLT(v string) predicate.MetadataFormat

PrefixLT applies the LT predicate on the "prefix" field.

func PrefixLTE

func PrefixLTE(v string) predicate.MetadataFormat

PrefixLTE applies the LTE predicate on the "prefix" field.

func PrefixNEQ

func PrefixNEQ(v string) predicate.MetadataFormat

PrefixNEQ applies the NEQ predicate on the "prefix" field.

func PrefixNotIn

func PrefixNotIn(vs ...string) predicate.MetadataFormat

PrefixNotIn applies the NotIn predicate on the "prefix" field.

func Schema

Schema applies equality check predicate on the "schema" field. It's identical to SchemaEQ.

func SchemaContains

func SchemaContains(v string) predicate.MetadataFormat

SchemaContains applies the Contains predicate on the "schema" field.

func SchemaContainsFold

func SchemaContainsFold(v string) predicate.MetadataFormat

SchemaContainsFold applies the ContainsFold predicate on the "schema" field.

func SchemaEQ

func SchemaEQ(v string) predicate.MetadataFormat

SchemaEQ applies the EQ predicate on the "schema" field.

func SchemaEqualFold

func SchemaEqualFold(v string) predicate.MetadataFormat

SchemaEqualFold applies the EqualFold predicate on the "schema" field.

func SchemaGT

func SchemaGT(v string) predicate.MetadataFormat

SchemaGT applies the GT predicate on the "schema" field.

func SchemaGTE

func SchemaGTE(v string) predicate.MetadataFormat

SchemaGTE applies the GTE predicate on the "schema" field.

func SchemaHasPrefix

func SchemaHasPrefix(v string) predicate.MetadataFormat

SchemaHasPrefix applies the HasPrefix predicate on the "schema" field.

func SchemaHasSuffix

func SchemaHasSuffix(v string) predicate.MetadataFormat

SchemaHasSuffix applies the HasSuffix predicate on the "schema" field.

func SchemaIn

func SchemaIn(vs ...string) predicate.MetadataFormat

SchemaIn applies the In predicate on the "schema" field.

func SchemaLT

func SchemaLT(v string) predicate.MetadataFormat

SchemaLT applies the LT predicate on the "schema" field.

func SchemaLTE

func SchemaLTE(v string) predicate.MetadataFormat

SchemaLTE applies the LTE predicate on the "schema" field.

func SchemaNEQ

func SchemaNEQ(v string) predicate.MetadataFormat

SchemaNEQ applies the NEQ predicate on the "schema" field.

func SchemaNotIn

func SchemaNotIn(vs ...string) predicate.MetadataFormat

SchemaNotIn applies the NotIn predicate on the "schema" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the MetadataFormat queries.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByNamespace

func ByNamespace(opts ...sql.OrderTermOption) OrderOption

ByNamespace orders the results by the namespace field.

func ByPrefix

func ByPrefix(opts ...sql.OrderTermOption) OrderOption

ByPrefix orders the results by the prefix field.

func ByRecords

func ByRecords(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByRecords orders the results by records terms.

func ByRecordsCount

func ByRecordsCount(opts ...sql.OrderTermOption) OrderOption

ByRecordsCount orders the results by records count.

func BySchema

func BySchema(opts ...sql.OrderTermOption) OrderOption

BySchema orders the results by the schema field.

Jump to

Keyboard shortcuts

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