objecttype

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 objecttype type in the database.
	Label = "object_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"
	// FieldKind holds the string denoting the kind vertex property in the database.
	FieldKind = "kind"
	// FieldDescription holds the string denoting the description vertex property in the database.
	FieldDescription = "description"

	// Table holds the table name of the objecttype in the database.
	Table = "object_types"
	// FieldsTable is the table the holds the fields relation/edge.
	FieldsTable = "field_types"
	// FieldsInverseTable is the table name for the FieldType entity.
	// It exists in this package in order to avoid circular dependency with the "fieldtype" package.
	FieldsInverseTable = "field_types"
	// FieldsColumn is the table column denoting the fields relation/edge.
	FieldsColumn = "object_type_fields"
)

Variables

Columns holds all SQL columns for objecttype fields.

Functions

func And

func And(predicates ...predicate.ObjectType) predicate.ObjectType

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

func Description

func Description(v string) predicate.ObjectType

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

func DescriptionContains

func DescriptionContains(v string) predicate.ObjectType

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.ObjectType

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.ObjectType

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.ObjectType

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

func DescriptionGT

func DescriptionGT(v string) predicate.ObjectType

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.ObjectType

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.ObjectType

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.ObjectType

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

func DescriptionIn

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

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

func DescriptionLT

func DescriptionLT(v string) predicate.ObjectType

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.ObjectType

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.ObjectType

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

func DescriptionNotIn

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

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

func HasFields

func HasFields() predicate.ObjectType

HasFields applies the HasEdge predicate on the "fields" edge.

func HasFieldsWith

func HasFieldsWith(preds ...predicate.FieldType) predicate.ObjectType

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

func ID

func ID(id int) predicate.ObjectType

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.ObjectType

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.ObjectType

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.ObjectType

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.ObjectType

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.ObjectType

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.ObjectType

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Kind

func Kind(v string) predicate.ObjectType

Kind applies equality check predicate on the "kind" field. It's identical to KindEQ.

func KindContains

func KindContains(v string) predicate.ObjectType

KindContains applies the Contains predicate on the "kind" field.

func KindContainsFold

func KindContainsFold(v string) predicate.ObjectType

KindContainsFold applies the ContainsFold predicate on the "kind" field.

func KindEQ

func KindEQ(v string) predicate.ObjectType

KindEQ applies the EQ predicate on the "kind" field.

func KindEqualFold

func KindEqualFold(v string) predicate.ObjectType

KindEqualFold applies the EqualFold predicate on the "kind" field.

func KindGT

func KindGT(v string) predicate.ObjectType

KindGT applies the GT predicate on the "kind" field.

func KindGTE

func KindGTE(v string) predicate.ObjectType

KindGTE applies the GTE predicate on the "kind" field.

func KindHasPrefix

func KindHasPrefix(v string) predicate.ObjectType

KindHasPrefix applies the HasPrefix predicate on the "kind" field.

func KindHasSuffix

func KindHasSuffix(v string) predicate.ObjectType

KindHasSuffix applies the HasSuffix predicate on the "kind" field.

func KindIn

func KindIn(vs ...string) predicate.ObjectType

KindIn applies the In predicate on the "kind" field.

func KindLT

func KindLT(v string) predicate.ObjectType

KindLT applies the LT predicate on the "kind" field.

func KindLTE

func KindLTE(v string) predicate.ObjectType

KindLTE applies the LTE predicate on the "kind" field.

func KindNEQ

func KindNEQ(v string) predicate.ObjectType

KindNEQ applies the NEQ predicate on the "kind" field.

func KindNotIn

func KindNotIn(vs ...string) predicate.ObjectType

KindNotIn applies the NotIn predicate on the "kind" field.

func Name

func Name(v string) predicate.ObjectType

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

func NameContains

func NameContains(v string) predicate.ObjectType

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

func NameContainsFold

func NameContainsFold(v string) predicate.ObjectType

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

func NameEQ

func NameEQ(v string) predicate.ObjectType

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

func NameEqualFold

func NameEqualFold(v string) predicate.ObjectType

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

func NameGT

func NameGT(v string) predicate.ObjectType

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

func NameGTE

func NameGTE(v string) predicate.ObjectType

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.ObjectType

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.ObjectType

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.ObjectType

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

func NameLTE

func NameLTE(v string) predicate.ObjectType

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

func NameNEQ

func NameNEQ(v string) predicate.ObjectType

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

func NameNotIn

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

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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