testc

package
v0.0.0-...-1e4cd2d Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the testc type in the database.
	Label = "testc"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldBID holds the string denoting the b_id field in the database.
	FieldBID = "b_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldInt4 holds the string denoting the int4 field in the database.
	FieldInt4 = "int4"
	// FieldInt8 holds the string denoting the int8 field in the database.
	FieldInt8 = "int8"
	// FieldFloat4 holds the string denoting the float4 field in the database.
	FieldFloat4 = "float4"
	// FieldFloat8 holds the string denoting the float8 field in the database.
	FieldFloat8 = "float8"
	// FieldBool holds the string denoting the bool field in the database.
	FieldBool = "bool"
	// FieldText holds the string denoting the text field in the database.
	FieldText = "text"
	// FieldTime holds the string denoting the time field in the database.
	FieldTime = "time"
	// EdgeTestB holds the string denoting the test_b edge name in mutations.
	EdgeTestB = "test_b"
	// Table holds the table name of the testc in the database.
	Table = "test_c"
	// TestBTable is the table that holds the test_b relation/edge.
	TestBTable = "test_c"
	// TestBInverseTable is the table name for the TestB entity.
	// It exists in this package in order to avoid circular dependency with the "testb" package.
	TestBInverseTable = "test_b"
	// TestBColumn is the table column denoting the test_b relation/edge.
	TestBColumn = "b_id"
)

Variables

Columns holds all SQL columns for testc fields.

Functions

func And

func And(predicates ...predicate.TestC) predicate.TestC

And groups predicates with the AND operator between them.

func BID

func BID(v int) predicate.TestC

BID applies equality check predicate on the "b_id" field. It's identical to BIDEQ.

func BIDEQ

func BIDEQ(v int) predicate.TestC

BIDEQ applies the EQ predicate on the "b_id" field.

func BIDIn

func BIDIn(vs ...int) predicate.TestC

BIDIn applies the In predicate on the "b_id" field.

func BIDIsNil

func BIDIsNil() predicate.TestC

BIDIsNil applies the IsNil predicate on the "b_id" field.

func BIDNEQ

func BIDNEQ(v int) predicate.TestC

BIDNEQ applies the NEQ predicate on the "b_id" field.

func BIDNotIn

func BIDNotIn(vs ...int) predicate.TestC

BIDNotIn applies the NotIn predicate on the "b_id" field.

func BIDNotNil

func BIDNotNil() predicate.TestC

BIDNotNil applies the NotNil predicate on the "b_id" field.

func Bool

func Bool(v bool) predicate.TestC

Bool applies equality check predicate on the "bool" field. It's identical to BoolEQ.

func BoolEQ

func BoolEQ(v bool) predicate.TestC

BoolEQ applies the EQ predicate on the "bool" field.

func BoolNEQ

func BoolNEQ(v bool) predicate.TestC

BoolNEQ applies the NEQ predicate on the "bool" field.

func Float4

func Float4(v float32) predicate.TestC

Float4 applies equality check predicate on the "float4" field. It's identical to Float4EQ.

func Float4EQ

func Float4EQ(v float32) predicate.TestC

Float4EQ applies the EQ predicate on the "float4" field.

func Float4GT

func Float4GT(v float32) predicate.TestC

Float4GT applies the GT predicate on the "float4" field.

func Float4GTE

func Float4GTE(v float32) predicate.TestC

Float4GTE applies the GTE predicate on the "float4" field.

func Float4In

func Float4In(vs ...float32) predicate.TestC

Float4In applies the In predicate on the "float4" field.

func Float4LT

func Float4LT(v float32) predicate.TestC

Float4LT applies the LT predicate on the "float4" field.

func Float4LTE

func Float4LTE(v float32) predicate.TestC

Float4LTE applies the LTE predicate on the "float4" field.

func Float4NEQ

func Float4NEQ(v float32) predicate.TestC

Float4NEQ applies the NEQ predicate on the "float4" field.

func Float4NotIn

func Float4NotIn(vs ...float32) predicate.TestC

Float4NotIn applies the NotIn predicate on the "float4" field.

func Float8

func Float8(v float64) predicate.TestC

Float8 applies equality check predicate on the "float8" field. It's identical to Float8EQ.

func Float8EQ

func Float8EQ(v float64) predicate.TestC

Float8EQ applies the EQ predicate on the "float8" field.

func Float8GT

func Float8GT(v float64) predicate.TestC

Float8GT applies the GT predicate on the "float8" field.

func Float8GTE

func Float8GTE(v float64) predicate.TestC

Float8GTE applies the GTE predicate on the "float8" field.

func Float8In

func Float8In(vs ...float64) predicate.TestC

Float8In applies the In predicate on the "float8" field.

func Float8LT

func Float8LT(v float64) predicate.TestC

Float8LT applies the LT predicate on the "float8" field.

func Float8LTE

func Float8LTE(v float64) predicate.TestC

Float8LTE applies the LTE predicate on the "float8" field.

func Float8NEQ

func Float8NEQ(v float64) predicate.TestC

Float8NEQ applies the NEQ predicate on the "float8" field.

func Float8NotIn

func Float8NotIn(vs ...float64) predicate.TestC

Float8NotIn applies the NotIn predicate on the "float8" field.

func HasTestB

func HasTestB() predicate.TestC

HasTestB applies the HasEdge predicate on the "test_b" edge.

func HasTestBWith

func HasTestBWith(preds ...predicate.TestB) predicate.TestC

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

func ID

func ID(id int) predicate.TestC

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.TestC

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.TestC

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.TestC

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.TestC

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.TestC

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.TestC

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Int4

func Int4(v int32) predicate.TestC

Int4 applies equality check predicate on the "int4" field. It's identical to Int4EQ.

func Int4EQ

func Int4EQ(v int32) predicate.TestC

Int4EQ applies the EQ predicate on the "int4" field.

func Int4GT

func Int4GT(v int32) predicate.TestC

Int4GT applies the GT predicate on the "int4" field.

func Int4GTE

func Int4GTE(v int32) predicate.TestC

Int4GTE applies the GTE predicate on the "int4" field.

func Int4In

func Int4In(vs ...int32) predicate.TestC

Int4In applies the In predicate on the "int4" field.

func Int4LT

func Int4LT(v int32) predicate.TestC

Int4LT applies the LT predicate on the "int4" field.

func Int4LTE

func Int4LTE(v int32) predicate.TestC

Int4LTE applies the LTE predicate on the "int4" field.

func Int4NEQ

func Int4NEQ(v int32) predicate.TestC

Int4NEQ applies the NEQ predicate on the "int4" field.

func Int4NotIn

func Int4NotIn(vs ...int32) predicate.TestC

Int4NotIn applies the NotIn predicate on the "int4" field.

func Int8

func Int8(v int) predicate.TestC

Int8 applies equality check predicate on the "int8" field. It's identical to Int8EQ.

func Int8EQ

func Int8EQ(v int) predicate.TestC

Int8EQ applies the EQ predicate on the "int8" field.

func Int8GT

func Int8GT(v int) predicate.TestC

Int8GT applies the GT predicate on the "int8" field.

func Int8GTE

func Int8GTE(v int) predicate.TestC

Int8GTE applies the GTE predicate on the "int8" field.

func Int8In

func Int8In(vs ...int) predicate.TestC

Int8In applies the In predicate on the "int8" field.

func Int8LT

func Int8LT(v int) predicate.TestC

Int8LT applies the LT predicate on the "int8" field.

func Int8LTE

func Int8LTE(v int) predicate.TestC

Int8LTE applies the LTE predicate on the "int8" field.

func Int8NEQ

func Int8NEQ(v int) predicate.TestC

Int8NEQ applies the NEQ predicate on the "int8" field.

func Int8NotIn

func Int8NotIn(vs ...int) predicate.TestC

Int8NotIn applies the NotIn predicate on the "int8" field.

func Name

func Name(v string) predicate.TestC

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

func NameContains

func NameContains(v string) predicate.TestC

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

func NameContainsFold

func NameContainsFold(v string) predicate.TestC

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

func NameEQ

func NameEQ(v string) predicate.TestC

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

func NameEqualFold

func NameEqualFold(v string) predicate.TestC

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

func NameGT

func NameGT(v string) predicate.TestC

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

func NameGTE

func NameGTE(v string) predicate.TestC

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.TestC

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.TestC

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.TestC

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

func NameLTE

func NameLTE(v string) predicate.TestC

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

func NameNEQ

func NameNEQ(v string) predicate.TestC

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

func NameNotIn

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

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

Or groups predicates with the OR operator between them.

func Text

func Text(v string) predicate.TestC

Text applies equality check predicate on the "text" field. It's identical to TextEQ.

func TextContains

func TextContains(v string) predicate.TestC

TextContains applies the Contains predicate on the "text" field.

func TextContainsFold

func TextContainsFold(v string) predicate.TestC

TextContainsFold applies the ContainsFold predicate on the "text" field.

func TextEQ

func TextEQ(v string) predicate.TestC

TextEQ applies the EQ predicate on the "text" field.

func TextEqualFold

func TextEqualFold(v string) predicate.TestC

TextEqualFold applies the EqualFold predicate on the "text" field.

func TextGT

func TextGT(v string) predicate.TestC

TextGT applies the GT predicate on the "text" field.

func TextGTE

func TextGTE(v string) predicate.TestC

TextGTE applies the GTE predicate on the "text" field.

func TextHasPrefix

func TextHasPrefix(v string) predicate.TestC

TextHasPrefix applies the HasPrefix predicate on the "text" field.

func TextHasSuffix

func TextHasSuffix(v string) predicate.TestC

TextHasSuffix applies the HasSuffix predicate on the "text" field.

func TextIn

func TextIn(vs ...string) predicate.TestC

TextIn applies the In predicate on the "text" field.

func TextLT

func TextLT(v string) predicate.TestC

TextLT applies the LT predicate on the "text" field.

func TextLTE

func TextLTE(v string) predicate.TestC

TextLTE applies the LTE predicate on the "text" field.

func TextNEQ

func TextNEQ(v string) predicate.TestC

TextNEQ applies the NEQ predicate on the "text" field.

func TextNotIn

func TextNotIn(vs ...string) predicate.TestC

TextNotIn applies the NotIn predicate on the "text" field.

func Time

func Time(v time.Time) predicate.TestC

Time applies equality check predicate on the "time" field. It's identical to TimeEQ.

func TimeEQ

func TimeEQ(v time.Time) predicate.TestC

TimeEQ applies the EQ predicate on the "time" field.

func TimeGT

func TimeGT(v time.Time) predicate.TestC

TimeGT applies the GT predicate on the "time" field.

func TimeGTE

func TimeGTE(v time.Time) predicate.TestC

TimeGTE applies the GTE predicate on the "time" field.

func TimeIn

func TimeIn(vs ...time.Time) predicate.TestC

TimeIn applies the In predicate on the "time" field.

func TimeLT

func TimeLT(v time.Time) predicate.TestC

TimeLT applies the LT predicate on the "time" field.

func TimeLTE

func TimeLTE(v time.Time) predicate.TestC

TimeLTE applies the LTE predicate on the "time" field.

func TimeNEQ

func TimeNEQ(v time.Time) predicate.TestC

TimeNEQ applies the NEQ predicate on the "time" field.

func TimeNotIn

func TimeNotIn(vs ...time.Time) predicate.TestC

TimeNotIn applies the NotIn predicate on the "time" 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 TestC queries.

func ByBID

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

ByBID orders the results by the b_id field.

func ByBool

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

ByBool orders the results by the bool field.

func ByFloat4

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

ByFloat4 orders the results by the float4 field.

func ByFloat8

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

ByFloat8 orders the results by the float8 field.

func ByID

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

ByID orders the results by the id field.

func ByInt4

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

ByInt4 orders the results by the int4 field.

func ByInt8

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

ByInt8 orders the results by the int8 field.

func ByName

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

ByName orders the results by the name field.

func ByTestBField

func ByTestBField(field string, opts ...sql.OrderTermOption) OrderOption

ByTestBField orders the results by test_b field.

func ByText

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

ByText orders the results by the text field.

func ByTime

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

ByTime orders the results by the time field.

Jump to

Keyboard shortcuts

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