fieldtype

package
v0.0.0-...-daab22b Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the fieldtype type in the database.
	Label = "field_type"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name vertex property in the database.
	FieldName = "name"
	// FieldDescription holds the string denoting the description vertex property in the database.
	FieldDescription = "description"
	// FieldDeprecatedReason holds the string denoting the deprecated_reason vertex property in the database.
	FieldDeprecatedReason = "deprecated_reason"
	// FieldTypeKind holds the string denoting the type_kind vertex property in the database.
	FieldTypeKind = "type_kind"
	// FieldTypeName holds the string denoting the type_name vertex property in the database.
	FieldTypeName = "type_name"

	// Table holds the table name of the fieldtype in the database.
	Table = "field_types"
	// ArgumentsTable is the table the holds the arguments relation/edge.
	ArgumentsTable = "arguments"
	// ArgumentsInverseTable is the table name for the Argument entity.
	// It exists in this package in order to avoid circular dependency with the "argument" package.
	ArgumentsInverseTable = "arguments"
	// ArgumentsColumn is the table column denoting the arguments relation/edge.
	ArgumentsColumn = "field_type_arguments"
)

Variables

Columns holds all SQL columns for fieldtype fields.

View Source
var ForeignKeys = []string{
	"object_type_fields",
}

ForeignKeys holds the SQL foreign-keys that are owned by the FieldType type.

Functions

func And

func And(predicates ...predicate.FieldType) predicate.FieldType

And groups list of predicates with the AND operator between them.

func DeprecatedReason

func DeprecatedReason(v string) predicate.FieldType

DeprecatedReason applies equality check predicate on the "deprecated_reason" field. It's identical to DeprecatedReasonEQ.

func DeprecatedReasonContains

func DeprecatedReasonContains(v string) predicate.FieldType

DeprecatedReasonContains applies the Contains predicate on the "deprecated_reason" field.

func DeprecatedReasonContainsFold

func DeprecatedReasonContainsFold(v string) predicate.FieldType

DeprecatedReasonContainsFold applies the ContainsFold predicate on the "deprecated_reason" field.

func DeprecatedReasonEQ

func DeprecatedReasonEQ(v string) predicate.FieldType

DeprecatedReasonEQ applies the EQ predicate on the "deprecated_reason" field.

func DeprecatedReasonEqualFold

func DeprecatedReasonEqualFold(v string) predicate.FieldType

DeprecatedReasonEqualFold applies the EqualFold predicate on the "deprecated_reason" field.

func DeprecatedReasonGT

func DeprecatedReasonGT(v string) predicate.FieldType

DeprecatedReasonGT applies the GT predicate on the "deprecated_reason" field.

func DeprecatedReasonGTE

func DeprecatedReasonGTE(v string) predicate.FieldType

DeprecatedReasonGTE applies the GTE predicate on the "deprecated_reason" field.

func DeprecatedReasonHasPrefix

func DeprecatedReasonHasPrefix(v string) predicate.FieldType

DeprecatedReasonHasPrefix applies the HasPrefix predicate on the "deprecated_reason" field.

func DeprecatedReasonHasSuffix

func DeprecatedReasonHasSuffix(v string) predicate.FieldType

DeprecatedReasonHasSuffix applies the HasSuffix predicate on the "deprecated_reason" field.

func DeprecatedReasonIn

func DeprecatedReasonIn(vs ...string) predicate.FieldType

DeprecatedReasonIn applies the In predicate on the "deprecated_reason" field.

func DeprecatedReasonLT

func DeprecatedReasonLT(v string) predicate.FieldType

DeprecatedReasonLT applies the LT predicate on the "deprecated_reason" field.

func DeprecatedReasonLTE

func DeprecatedReasonLTE(v string) predicate.FieldType

DeprecatedReasonLTE applies the LTE predicate on the "deprecated_reason" field.

func DeprecatedReasonNEQ

func DeprecatedReasonNEQ(v string) predicate.FieldType

DeprecatedReasonNEQ applies the NEQ predicate on the "deprecated_reason" field.

func DeprecatedReasonNotIn

func DeprecatedReasonNotIn(vs ...string) predicate.FieldType

DeprecatedReasonNotIn applies the NotIn predicate on the "deprecated_reason" field.

func Description

func Description(v string) predicate.FieldType

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.FieldType

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.FieldType

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.FieldType

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.FieldType

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.FieldType

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.FieldType

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.FieldType

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.FieldType

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.FieldType

DescriptionIn applies the In predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.FieldType

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.FieldType

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.FieldType

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.FieldType

DescriptionNotIn applies the NotIn predicate on the "description" field.

func HasArguments

func HasArguments() predicate.FieldType

HasArguments applies the HasEdge predicate on the "arguments" edge.

func HasArgumentsWith

func HasArgumentsWith(preds ...predicate.Argument) predicate.FieldType

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

func ID

func ID(id int) predicate.FieldType

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.FieldType

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.FieldType

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.FieldType

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.FieldType

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.FieldType

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.FieldType

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.FieldType

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.FieldType

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.FieldType

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.FieldType

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.FieldType

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.FieldType

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.FieldType

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.FieldType

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.FieldType

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.FieldType

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.FieldType

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.FieldType

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.FieldType

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.FieldType

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.FieldType

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.FieldType

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.FieldType) predicate.FieldType

Or groups list of predicates with the OR operator between them.

func TypeKind

func TypeKind(v string) predicate.FieldType

TypeKind applies equality check predicate on the "type_kind" field. It's identical to TypeKindEQ.

func TypeKindContains

func TypeKindContains(v string) predicate.FieldType

TypeKindContains applies the Contains predicate on the "type_kind" field.

func TypeKindContainsFold

func TypeKindContainsFold(v string) predicate.FieldType

TypeKindContainsFold applies the ContainsFold predicate on the "type_kind" field.

func TypeKindEQ

func TypeKindEQ(v string) predicate.FieldType

TypeKindEQ applies the EQ predicate on the "type_kind" field.

func TypeKindEqualFold

func TypeKindEqualFold(v string) predicate.FieldType

TypeKindEqualFold applies the EqualFold predicate on the "type_kind" field.

func TypeKindGT

func TypeKindGT(v string) predicate.FieldType

TypeKindGT applies the GT predicate on the "type_kind" field.

func TypeKindGTE

func TypeKindGTE(v string) predicate.FieldType

TypeKindGTE applies the GTE predicate on the "type_kind" field.

func TypeKindHasPrefix

func TypeKindHasPrefix(v string) predicate.FieldType

TypeKindHasPrefix applies the HasPrefix predicate on the "type_kind" field.

func TypeKindHasSuffix

func TypeKindHasSuffix(v string) predicate.FieldType

TypeKindHasSuffix applies the HasSuffix predicate on the "type_kind" field.

func TypeKindIn

func TypeKindIn(vs ...string) predicate.FieldType

TypeKindIn applies the In predicate on the "type_kind" field.

func TypeKindLT

func TypeKindLT(v string) predicate.FieldType

TypeKindLT applies the LT predicate on the "type_kind" field.

func TypeKindLTE

func TypeKindLTE(v string) predicate.FieldType

TypeKindLTE applies the LTE predicate on the "type_kind" field.

func TypeKindNEQ

func TypeKindNEQ(v string) predicate.FieldType

TypeKindNEQ applies the NEQ predicate on the "type_kind" field.

func TypeKindNotIn

func TypeKindNotIn(vs ...string) predicate.FieldType

TypeKindNotIn applies the NotIn predicate on the "type_kind" field.

func TypeName

func TypeName(v string) predicate.FieldType

TypeName applies equality check predicate on the "type_name" field. It's identical to TypeNameEQ.

func TypeNameContains

func TypeNameContains(v string) predicate.FieldType

TypeNameContains applies the Contains predicate on the "type_name" field.

func TypeNameContainsFold

func TypeNameContainsFold(v string) predicate.FieldType

TypeNameContainsFold applies the ContainsFold predicate on the "type_name" field.

func TypeNameEQ

func TypeNameEQ(v string) predicate.FieldType

TypeNameEQ applies the EQ predicate on the "type_name" field.

func TypeNameEqualFold

func TypeNameEqualFold(v string) predicate.FieldType

TypeNameEqualFold applies the EqualFold predicate on the "type_name" field.

func TypeNameGT

func TypeNameGT(v string) predicate.FieldType

TypeNameGT applies the GT predicate on the "type_name" field.

func TypeNameGTE

func TypeNameGTE(v string) predicate.FieldType

TypeNameGTE applies the GTE predicate on the "type_name" field.

func TypeNameHasPrefix

func TypeNameHasPrefix(v string) predicate.FieldType

TypeNameHasPrefix applies the HasPrefix predicate on the "type_name" field.

func TypeNameHasSuffix

func TypeNameHasSuffix(v string) predicate.FieldType

TypeNameHasSuffix applies the HasSuffix predicate on the "type_name" field.

func TypeNameIn

func TypeNameIn(vs ...string) predicate.FieldType

TypeNameIn applies the In predicate on the "type_name" field.

func TypeNameLT

func TypeNameLT(v string) predicate.FieldType

TypeNameLT applies the LT predicate on the "type_name" field.

func TypeNameLTE

func TypeNameLTE(v string) predicate.FieldType

TypeNameLTE applies the LTE predicate on the "type_name" field.

func TypeNameNEQ

func TypeNameNEQ(v string) predicate.FieldType

TypeNameNEQ applies the NEQ predicate on the "type_name" field.

func TypeNameNotIn

func TypeNameNotIn(vs ...string) predicate.FieldType

TypeNameNotIn applies the NotIn predicate on the "type_name" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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