conversion

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the conversion type in the database.
	Label = "conversion"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldInt8ToString holds the string denoting the int8_to_string field in the database.
	FieldInt8ToString = "int8_to_string"
	// FieldUint8ToString holds the string denoting the uint8_to_string field in the database.
	FieldUint8ToString = "uint8_to_string"
	// FieldInt16ToString holds the string denoting the int16_to_string field in the database.
	FieldInt16ToString = "int16_to_string"
	// FieldUint16ToString holds the string denoting the uint16_to_string field in the database.
	FieldUint16ToString = "uint16_to_string"
	// FieldInt32ToString holds the string denoting the int32_to_string field in the database.
	FieldInt32ToString = "int32_to_string"
	// FieldUint32ToString holds the string denoting the uint32_to_string field in the database.
	FieldUint32ToString = "uint32_to_string"
	// FieldInt64ToString holds the string denoting the int64_to_string field in the database.
	FieldInt64ToString = "int64_to_string"
	// FieldUint64ToString holds the string denoting the uint64_to_string field in the database.
	FieldUint64ToString = "uint64_to_string"
	// Table holds the table name of the conversion in the database.
	Table = "conversions"
)

Variables

Columns holds all SQL columns for conversion fields.

Functions

func And

func And(predicates ...predicate.Conversion) predicate.Conversion

And groups predicates with the AND operator between them.

func ID

func ID(id int) predicate.Conversion

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Conversion

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Conversion

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Conversion

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Conversion

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Conversion

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Conversion

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Int16ToString

func Int16ToString(v int16) predicate.Conversion

Int16ToString applies equality check predicate on the "int16_to_string" field. It's identical to Int16ToStringEQ.

func Int16ToStringEQ

func Int16ToStringEQ(v int16) predicate.Conversion

Int16ToStringEQ applies the EQ predicate on the "int16_to_string" field.

func Int16ToStringGT

func Int16ToStringGT(v int16) predicate.Conversion

Int16ToStringGT applies the GT predicate on the "int16_to_string" field.

func Int16ToStringGTE

func Int16ToStringGTE(v int16) predicate.Conversion

Int16ToStringGTE applies the GTE predicate on the "int16_to_string" field.

func Int16ToStringIn

func Int16ToStringIn(vs ...int16) predicate.Conversion

Int16ToStringIn applies the In predicate on the "int16_to_string" field.

func Int16ToStringIsNil

func Int16ToStringIsNil() predicate.Conversion

Int16ToStringIsNil applies the IsNil predicate on the "int16_to_string" field.

func Int16ToStringLT

func Int16ToStringLT(v int16) predicate.Conversion

Int16ToStringLT applies the LT predicate on the "int16_to_string" field.

func Int16ToStringLTE

func Int16ToStringLTE(v int16) predicate.Conversion

Int16ToStringLTE applies the LTE predicate on the "int16_to_string" field.

func Int16ToStringNEQ

func Int16ToStringNEQ(v int16) predicate.Conversion

Int16ToStringNEQ applies the NEQ predicate on the "int16_to_string" field.

func Int16ToStringNotIn

func Int16ToStringNotIn(vs ...int16) predicate.Conversion

Int16ToStringNotIn applies the NotIn predicate on the "int16_to_string" field.

func Int16ToStringNotNil

func Int16ToStringNotNil() predicate.Conversion

Int16ToStringNotNil applies the NotNil predicate on the "int16_to_string" field.

func Int32ToString

func Int32ToString(v int32) predicate.Conversion

Int32ToString applies equality check predicate on the "int32_to_string" field. It's identical to Int32ToStringEQ.

func Int32ToStringEQ

func Int32ToStringEQ(v int32) predicate.Conversion

Int32ToStringEQ applies the EQ predicate on the "int32_to_string" field.

func Int32ToStringGT

func Int32ToStringGT(v int32) predicate.Conversion

Int32ToStringGT applies the GT predicate on the "int32_to_string" field.

func Int32ToStringGTE

func Int32ToStringGTE(v int32) predicate.Conversion

Int32ToStringGTE applies the GTE predicate on the "int32_to_string" field.

func Int32ToStringIn

func Int32ToStringIn(vs ...int32) predicate.Conversion

Int32ToStringIn applies the In predicate on the "int32_to_string" field.

func Int32ToStringIsNil

func Int32ToStringIsNil() predicate.Conversion

Int32ToStringIsNil applies the IsNil predicate on the "int32_to_string" field.

func Int32ToStringLT

func Int32ToStringLT(v int32) predicate.Conversion

Int32ToStringLT applies the LT predicate on the "int32_to_string" field.

func Int32ToStringLTE

func Int32ToStringLTE(v int32) predicate.Conversion

Int32ToStringLTE applies the LTE predicate on the "int32_to_string" field.

func Int32ToStringNEQ

func Int32ToStringNEQ(v int32) predicate.Conversion

Int32ToStringNEQ applies the NEQ predicate on the "int32_to_string" field.

func Int32ToStringNotIn

func Int32ToStringNotIn(vs ...int32) predicate.Conversion

Int32ToStringNotIn applies the NotIn predicate on the "int32_to_string" field.

func Int32ToStringNotNil

func Int32ToStringNotNil() predicate.Conversion

Int32ToStringNotNil applies the NotNil predicate on the "int32_to_string" field.

func Int64ToString

func Int64ToString(v int64) predicate.Conversion

Int64ToString applies equality check predicate on the "int64_to_string" field. It's identical to Int64ToStringEQ.

func Int64ToStringEQ

func Int64ToStringEQ(v int64) predicate.Conversion

Int64ToStringEQ applies the EQ predicate on the "int64_to_string" field.

func Int64ToStringGT

func Int64ToStringGT(v int64) predicate.Conversion

Int64ToStringGT applies the GT predicate on the "int64_to_string" field.

func Int64ToStringGTE

func Int64ToStringGTE(v int64) predicate.Conversion

Int64ToStringGTE applies the GTE predicate on the "int64_to_string" field.

func Int64ToStringIn

func Int64ToStringIn(vs ...int64) predicate.Conversion

Int64ToStringIn applies the In predicate on the "int64_to_string" field.

func Int64ToStringIsNil

func Int64ToStringIsNil() predicate.Conversion

Int64ToStringIsNil applies the IsNil predicate on the "int64_to_string" field.

func Int64ToStringLT

func Int64ToStringLT(v int64) predicate.Conversion

Int64ToStringLT applies the LT predicate on the "int64_to_string" field.

func Int64ToStringLTE

func Int64ToStringLTE(v int64) predicate.Conversion

Int64ToStringLTE applies the LTE predicate on the "int64_to_string" field.

func Int64ToStringNEQ

func Int64ToStringNEQ(v int64) predicate.Conversion

Int64ToStringNEQ applies the NEQ predicate on the "int64_to_string" field.

func Int64ToStringNotIn

func Int64ToStringNotIn(vs ...int64) predicate.Conversion

Int64ToStringNotIn applies the NotIn predicate on the "int64_to_string" field.

func Int64ToStringNotNil

func Int64ToStringNotNil() predicate.Conversion

Int64ToStringNotNil applies the NotNil predicate on the "int64_to_string" field.

func Int8ToString

func Int8ToString(v int8) predicate.Conversion

Int8ToString applies equality check predicate on the "int8_to_string" field. It's identical to Int8ToStringEQ.

func Int8ToStringEQ

func Int8ToStringEQ(v int8) predicate.Conversion

Int8ToStringEQ applies the EQ predicate on the "int8_to_string" field.

func Int8ToStringGT

func Int8ToStringGT(v int8) predicate.Conversion

Int8ToStringGT applies the GT predicate on the "int8_to_string" field.

func Int8ToStringGTE

func Int8ToStringGTE(v int8) predicate.Conversion

Int8ToStringGTE applies the GTE predicate on the "int8_to_string" field.

func Int8ToStringIn

func Int8ToStringIn(vs ...int8) predicate.Conversion

Int8ToStringIn applies the In predicate on the "int8_to_string" field.

func Int8ToStringIsNil

func Int8ToStringIsNil() predicate.Conversion

Int8ToStringIsNil applies the IsNil predicate on the "int8_to_string" field.

func Int8ToStringLT

func Int8ToStringLT(v int8) predicate.Conversion

Int8ToStringLT applies the LT predicate on the "int8_to_string" field.

func Int8ToStringLTE

func Int8ToStringLTE(v int8) predicate.Conversion

Int8ToStringLTE applies the LTE predicate on the "int8_to_string" field.

func Int8ToStringNEQ

func Int8ToStringNEQ(v int8) predicate.Conversion

Int8ToStringNEQ applies the NEQ predicate on the "int8_to_string" field.

func Int8ToStringNotIn

func Int8ToStringNotIn(vs ...int8) predicate.Conversion

Int8ToStringNotIn applies the NotIn predicate on the "int8_to_string" field.

func Int8ToStringNotNil

func Int8ToStringNotNil() predicate.Conversion

Int8ToStringNotNil applies the NotNil predicate on the "int8_to_string" field.

func Name

func Name(v string) predicate.Conversion

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

func NameContains

func NameContains(v string) predicate.Conversion

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

func NameContainsFold

func NameContainsFold(v string) predicate.Conversion

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

func NameEQ

func NameEQ(v string) predicate.Conversion

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

func NameEqualFold

func NameEqualFold(v string) predicate.Conversion

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

func NameGT

func NameGT(v string) predicate.Conversion

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

func NameGTE

func NameGTE(v string) predicate.Conversion

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Conversion

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Conversion

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

func NameIn

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

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

func NameIsNil

func NameIsNil() predicate.Conversion

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Conversion

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

func NameLTE

func NameLTE(v string) predicate.Conversion

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

func NameNEQ

func NameNEQ(v string) predicate.Conversion

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

func NameNotIn

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

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

func NameNotNil

func NameNotNil() predicate.Conversion

NameNotNil applies the NotNil predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Conversion) predicate.Conversion

Or groups predicates with the OR operator between them.

func Uint16ToString

func Uint16ToString(v uint16) predicate.Conversion

Uint16ToString applies equality check predicate on the "uint16_to_string" field. It's identical to Uint16ToStringEQ.

func Uint16ToStringEQ

func Uint16ToStringEQ(v uint16) predicate.Conversion

Uint16ToStringEQ applies the EQ predicate on the "uint16_to_string" field.

func Uint16ToStringGT

func Uint16ToStringGT(v uint16) predicate.Conversion

Uint16ToStringGT applies the GT predicate on the "uint16_to_string" field.

func Uint16ToStringGTE

func Uint16ToStringGTE(v uint16) predicate.Conversion

Uint16ToStringGTE applies the GTE predicate on the "uint16_to_string" field.

func Uint16ToStringIn

func Uint16ToStringIn(vs ...uint16) predicate.Conversion

Uint16ToStringIn applies the In predicate on the "uint16_to_string" field.

func Uint16ToStringIsNil

func Uint16ToStringIsNil() predicate.Conversion

Uint16ToStringIsNil applies the IsNil predicate on the "uint16_to_string" field.

func Uint16ToStringLT

func Uint16ToStringLT(v uint16) predicate.Conversion

Uint16ToStringLT applies the LT predicate on the "uint16_to_string" field.

func Uint16ToStringLTE

func Uint16ToStringLTE(v uint16) predicate.Conversion

Uint16ToStringLTE applies the LTE predicate on the "uint16_to_string" field.

func Uint16ToStringNEQ

func Uint16ToStringNEQ(v uint16) predicate.Conversion

Uint16ToStringNEQ applies the NEQ predicate on the "uint16_to_string" field.

func Uint16ToStringNotIn

func Uint16ToStringNotIn(vs ...uint16) predicate.Conversion

Uint16ToStringNotIn applies the NotIn predicate on the "uint16_to_string" field.

func Uint16ToStringNotNil

func Uint16ToStringNotNil() predicate.Conversion

Uint16ToStringNotNil applies the NotNil predicate on the "uint16_to_string" field.

func Uint32ToString

func Uint32ToString(v uint32) predicate.Conversion

Uint32ToString applies equality check predicate on the "uint32_to_string" field. It's identical to Uint32ToStringEQ.

func Uint32ToStringEQ

func Uint32ToStringEQ(v uint32) predicate.Conversion

Uint32ToStringEQ applies the EQ predicate on the "uint32_to_string" field.

func Uint32ToStringGT

func Uint32ToStringGT(v uint32) predicate.Conversion

Uint32ToStringGT applies the GT predicate on the "uint32_to_string" field.

func Uint32ToStringGTE

func Uint32ToStringGTE(v uint32) predicate.Conversion

Uint32ToStringGTE applies the GTE predicate on the "uint32_to_string" field.

func Uint32ToStringIn

func Uint32ToStringIn(vs ...uint32) predicate.Conversion

Uint32ToStringIn applies the In predicate on the "uint32_to_string" field.

func Uint32ToStringIsNil

func Uint32ToStringIsNil() predicate.Conversion

Uint32ToStringIsNil applies the IsNil predicate on the "uint32_to_string" field.

func Uint32ToStringLT

func Uint32ToStringLT(v uint32) predicate.Conversion

Uint32ToStringLT applies the LT predicate on the "uint32_to_string" field.

func Uint32ToStringLTE

func Uint32ToStringLTE(v uint32) predicate.Conversion

Uint32ToStringLTE applies the LTE predicate on the "uint32_to_string" field.

func Uint32ToStringNEQ

func Uint32ToStringNEQ(v uint32) predicate.Conversion

Uint32ToStringNEQ applies the NEQ predicate on the "uint32_to_string" field.

func Uint32ToStringNotIn

func Uint32ToStringNotIn(vs ...uint32) predicate.Conversion

Uint32ToStringNotIn applies the NotIn predicate on the "uint32_to_string" field.

func Uint32ToStringNotNil

func Uint32ToStringNotNil() predicate.Conversion

Uint32ToStringNotNil applies the NotNil predicate on the "uint32_to_string" field.

func Uint64ToString

func Uint64ToString(v uint64) predicate.Conversion

Uint64ToString applies equality check predicate on the "uint64_to_string" field. It's identical to Uint64ToStringEQ.

func Uint64ToStringEQ

func Uint64ToStringEQ(v uint64) predicate.Conversion

Uint64ToStringEQ applies the EQ predicate on the "uint64_to_string" field.

func Uint64ToStringGT

func Uint64ToStringGT(v uint64) predicate.Conversion

Uint64ToStringGT applies the GT predicate on the "uint64_to_string" field.

func Uint64ToStringGTE

func Uint64ToStringGTE(v uint64) predicate.Conversion

Uint64ToStringGTE applies the GTE predicate on the "uint64_to_string" field.

func Uint64ToStringIn

func Uint64ToStringIn(vs ...uint64) predicate.Conversion

Uint64ToStringIn applies the In predicate on the "uint64_to_string" field.

func Uint64ToStringIsNil

func Uint64ToStringIsNil() predicate.Conversion

Uint64ToStringIsNil applies the IsNil predicate on the "uint64_to_string" field.

func Uint64ToStringLT

func Uint64ToStringLT(v uint64) predicate.Conversion

Uint64ToStringLT applies the LT predicate on the "uint64_to_string" field.

func Uint64ToStringLTE

func Uint64ToStringLTE(v uint64) predicate.Conversion

Uint64ToStringLTE applies the LTE predicate on the "uint64_to_string" field.

func Uint64ToStringNEQ

func Uint64ToStringNEQ(v uint64) predicate.Conversion

Uint64ToStringNEQ applies the NEQ predicate on the "uint64_to_string" field.

func Uint64ToStringNotIn

func Uint64ToStringNotIn(vs ...uint64) predicate.Conversion

Uint64ToStringNotIn applies the NotIn predicate on the "uint64_to_string" field.

func Uint64ToStringNotNil

func Uint64ToStringNotNil() predicate.Conversion

Uint64ToStringNotNil applies the NotNil predicate on the "uint64_to_string" field.

func Uint8ToString

func Uint8ToString(v uint8) predicate.Conversion

Uint8ToString applies equality check predicate on the "uint8_to_string" field. It's identical to Uint8ToStringEQ.

func Uint8ToStringEQ

func Uint8ToStringEQ(v uint8) predicate.Conversion

Uint8ToStringEQ applies the EQ predicate on the "uint8_to_string" field.

func Uint8ToStringGT

func Uint8ToStringGT(v uint8) predicate.Conversion

Uint8ToStringGT applies the GT predicate on the "uint8_to_string" field.

func Uint8ToStringGTE

func Uint8ToStringGTE(v uint8) predicate.Conversion

Uint8ToStringGTE applies the GTE predicate on the "uint8_to_string" field.

func Uint8ToStringIn

func Uint8ToStringIn(vs ...uint8) predicate.Conversion

Uint8ToStringIn applies the In predicate on the "uint8_to_string" field.

func Uint8ToStringIsNil

func Uint8ToStringIsNil() predicate.Conversion

Uint8ToStringIsNil applies the IsNil predicate on the "uint8_to_string" field.

func Uint8ToStringLT

func Uint8ToStringLT(v uint8) predicate.Conversion

Uint8ToStringLT applies the LT predicate on the "uint8_to_string" field.

func Uint8ToStringLTE

func Uint8ToStringLTE(v uint8) predicate.Conversion

Uint8ToStringLTE applies the LTE predicate on the "uint8_to_string" field.

func Uint8ToStringNEQ

func Uint8ToStringNEQ(v uint8) predicate.Conversion

Uint8ToStringNEQ applies the NEQ predicate on the "uint8_to_string" field.

func Uint8ToStringNotIn

func Uint8ToStringNotIn(vs ...uint8) predicate.Conversion

Uint8ToStringNotIn applies the NotIn predicate on the "uint8_to_string" field.

func Uint8ToStringNotNil

func Uint8ToStringNotNil() predicate.Conversion

Uint8ToStringNotNil applies the NotNil predicate on the "uint8_to_string" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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