argument

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: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the argument type in the database.
	Label = "argument"
	// 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"
	// 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 argument in the database.
	Table = "arguments"
)

Variables

Columns holds all SQL columns for argument fields.

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

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

Functions

func And

func And(predicates ...predicate.Argument) predicate.Argument

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

func Description

func Description(v string) predicate.Argument

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

func DescriptionContains

func DescriptionContains(v string) predicate.Argument

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Argument

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Argument

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Argument

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

func DescriptionGT

func DescriptionGT(v string) predicate.Argument

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Argument

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Argument

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Argument

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

func DescriptionIn

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

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

func DescriptionLT

func DescriptionLT(v string) predicate.Argument

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Argument

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Argument

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

func DescriptionNotIn

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

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

func ID

func ID(id int) predicate.Argument

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Argument

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Argument

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Argument

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Argument

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Argument

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Argument

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Argument

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

func NameContains

func NameContains(v string) predicate.Argument

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

func NameContainsFold

func NameContainsFold(v string) predicate.Argument

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

func NameEQ

func NameEQ(v string) predicate.Argument

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

func NameEqualFold

func NameEqualFold(v string) predicate.Argument

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

func NameGT

func NameGT(v string) predicate.Argument

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

func NameGTE

func NameGTE(v string) predicate.Argument

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Argument

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Argument

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Argument

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

func NameLTE

func NameLTE(v string) predicate.Argument

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

func NameNEQ

func NameNEQ(v string) predicate.Argument

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

func NameNotIn

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

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.Argument) predicate.Argument

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

func TypeKind

func TypeKind(v string) predicate.Argument

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

func TypeKindContains

func TypeKindContains(v string) predicate.Argument

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

func TypeKindContainsFold

func TypeKindContainsFold(v string) predicate.Argument

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

func TypeKindEQ

func TypeKindEQ(v string) predicate.Argument

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

func TypeKindEqualFold

func TypeKindEqualFold(v string) predicate.Argument

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

func TypeKindGT

func TypeKindGT(v string) predicate.Argument

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

func TypeKindGTE

func TypeKindGTE(v string) predicate.Argument

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

func TypeKindHasPrefix

func TypeKindHasPrefix(v string) predicate.Argument

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

func TypeKindHasSuffix

func TypeKindHasSuffix(v string) predicate.Argument

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

func TypeKindIn

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

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

func TypeKindLT

func TypeKindLT(v string) predicate.Argument

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

func TypeKindLTE

func TypeKindLTE(v string) predicate.Argument

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

func TypeKindNEQ

func TypeKindNEQ(v string) predicate.Argument

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

func TypeKindNotIn

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

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

func TypeName

func TypeName(v string) predicate.Argument

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

func TypeNameContains

func TypeNameContains(v string) predicate.Argument

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

func TypeNameContainsFold

func TypeNameContainsFold(v string) predicate.Argument

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

func TypeNameEQ

func TypeNameEQ(v string) predicate.Argument

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

func TypeNameEqualFold

func TypeNameEqualFold(v string) predicate.Argument

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

func TypeNameGT

func TypeNameGT(v string) predicate.Argument

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

func TypeNameGTE

func TypeNameGTE(v string) predicate.Argument

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

func TypeNameHasPrefix

func TypeNameHasPrefix(v string) predicate.Argument

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

func TypeNameHasSuffix

func TypeNameHasSuffix(v string) predicate.Argument

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

func TypeNameIn

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

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

func TypeNameLT

func TypeNameLT(v string) predicate.Argument

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

func TypeNameLTE

func TypeNameLTE(v string) predicate.Argument

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

func TypeNameNEQ

func TypeNameNEQ(v string) predicate.Argument

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

func TypeNameNotIn

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

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