judgerecord

package
v0.0.0-...-52a3571 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the judgerecord type in the database.
	Label = "judge_record"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldJudgeTime holds the string denoting the judge_time field in the database.
	FieldJudgeTime = "judge_time"
	// FieldFinishedTime holds the string denoting the finished_time field in the database.
	FieldFinishedTime = "finished_time"
	// FieldTimeCost holds the string denoting the time_cost field in the database.
	FieldTimeCost = "time_cost"
	// FieldMemoryCost holds the string denoting the memory_cost field in the database.
	FieldMemoryCost = "memory_cost"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// Table holds the table name of the judgerecord in the database.
	Table = "judge_records"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "users"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "judge_record_user"
)

Variables

Columns holds all SQL columns for judgerecord fields.

View Source
var (
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus int64
)

Functions

func And

func And(predicates ...predicate.JudgeRecord) predicate.JudgeRecord

And groups predicates with the AND operator between them.

func FinishedTime

func FinishedTime(v time.Time) predicate.JudgeRecord

FinishedTime applies equality check predicate on the "finished_time" field. It's identical to FinishedTimeEQ.

func FinishedTimeEQ

func FinishedTimeEQ(v time.Time) predicate.JudgeRecord

FinishedTimeEQ applies the EQ predicate on the "finished_time" field.

func FinishedTimeGT

func FinishedTimeGT(v time.Time) predicate.JudgeRecord

FinishedTimeGT applies the GT predicate on the "finished_time" field.

func FinishedTimeGTE

func FinishedTimeGTE(v time.Time) predicate.JudgeRecord

FinishedTimeGTE applies the GTE predicate on the "finished_time" field.

func FinishedTimeIn

func FinishedTimeIn(vs ...time.Time) predicate.JudgeRecord

FinishedTimeIn applies the In predicate on the "finished_time" field.

func FinishedTimeLT

func FinishedTimeLT(v time.Time) predicate.JudgeRecord

FinishedTimeLT applies the LT predicate on the "finished_time" field.

func FinishedTimeLTE

func FinishedTimeLTE(v time.Time) predicate.JudgeRecord

FinishedTimeLTE applies the LTE predicate on the "finished_time" field.

func FinishedTimeNEQ

func FinishedTimeNEQ(v time.Time) predicate.JudgeRecord

FinishedTimeNEQ applies the NEQ predicate on the "finished_time" field.

func FinishedTimeNotIn

func FinishedTimeNotIn(vs ...time.Time) predicate.JudgeRecord

FinishedTimeNotIn applies the NotIn predicate on the "finished_time" field.

func HasUser

func HasUser() predicate.JudgeRecord

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.JudgeRecord

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.JudgeRecord

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.JudgeRecord

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.JudgeRecord

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.JudgeRecord

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.JudgeRecord

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.JudgeRecord

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.JudgeRecord

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.JudgeRecord

IDNotIn applies the NotIn predicate on the ID field.

func JudgeTime

func JudgeTime(v time.Time) predicate.JudgeRecord

JudgeTime applies equality check predicate on the "judge_time" field. It's identical to JudgeTimeEQ.

func JudgeTimeEQ

func JudgeTimeEQ(v time.Time) predicate.JudgeRecord

JudgeTimeEQ applies the EQ predicate on the "judge_time" field.

func JudgeTimeGT

func JudgeTimeGT(v time.Time) predicate.JudgeRecord

JudgeTimeGT applies the GT predicate on the "judge_time" field.

func JudgeTimeGTE

func JudgeTimeGTE(v time.Time) predicate.JudgeRecord

JudgeTimeGTE applies the GTE predicate on the "judge_time" field.

func JudgeTimeIn

func JudgeTimeIn(vs ...time.Time) predicate.JudgeRecord

JudgeTimeIn applies the In predicate on the "judge_time" field.

func JudgeTimeLT

func JudgeTimeLT(v time.Time) predicate.JudgeRecord

JudgeTimeLT applies the LT predicate on the "judge_time" field.

func JudgeTimeLTE

func JudgeTimeLTE(v time.Time) predicate.JudgeRecord

JudgeTimeLTE applies the LTE predicate on the "judge_time" field.

func JudgeTimeNEQ

func JudgeTimeNEQ(v time.Time) predicate.JudgeRecord

JudgeTimeNEQ applies the NEQ predicate on the "judge_time" field.

func JudgeTimeNotIn

func JudgeTimeNotIn(vs ...time.Time) predicate.JudgeRecord

JudgeTimeNotIn applies the NotIn predicate on the "judge_time" field.

func MemoryCost

func MemoryCost(v int64) predicate.JudgeRecord

MemoryCost applies equality check predicate on the "memory_cost" field. It's identical to MemoryCostEQ.

func MemoryCostEQ

func MemoryCostEQ(v int64) predicate.JudgeRecord

MemoryCostEQ applies the EQ predicate on the "memory_cost" field.

func MemoryCostGT

func MemoryCostGT(v int64) predicate.JudgeRecord

MemoryCostGT applies the GT predicate on the "memory_cost" field.

func MemoryCostGTE

func MemoryCostGTE(v int64) predicate.JudgeRecord

MemoryCostGTE applies the GTE predicate on the "memory_cost" field.

func MemoryCostIn

func MemoryCostIn(vs ...int64) predicate.JudgeRecord

MemoryCostIn applies the In predicate on the "memory_cost" field.

func MemoryCostLT

func MemoryCostLT(v int64) predicate.JudgeRecord

MemoryCostLT applies the LT predicate on the "memory_cost" field.

func MemoryCostLTE

func MemoryCostLTE(v int64) predicate.JudgeRecord

MemoryCostLTE applies the LTE predicate on the "memory_cost" field.

func MemoryCostNEQ

func MemoryCostNEQ(v int64) predicate.JudgeRecord

MemoryCostNEQ applies the NEQ predicate on the "memory_cost" field.

func MemoryCostNotIn

func MemoryCostNotIn(vs ...int64) predicate.JudgeRecord

MemoryCostNotIn applies the NotIn predicate on the "memory_cost" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.JudgeRecord) predicate.JudgeRecord

Or groups predicates with the OR operator between them.

func Status

func Status(v int64) predicate.JudgeRecord

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v int64) predicate.JudgeRecord

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v int64) predicate.JudgeRecord

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v int64) predicate.JudgeRecord

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...int64) predicate.JudgeRecord

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v int64) predicate.JudgeRecord

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v int64) predicate.JudgeRecord

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v int64) predicate.JudgeRecord

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...int64) predicate.JudgeRecord

StatusNotIn applies the NotIn predicate on the "status" field.

func TimeCost

func TimeCost(v int64) predicate.JudgeRecord

TimeCost applies equality check predicate on the "time_cost" field. It's identical to TimeCostEQ.

func TimeCostEQ

func TimeCostEQ(v int64) predicate.JudgeRecord

TimeCostEQ applies the EQ predicate on the "time_cost" field.

func TimeCostGT

func TimeCostGT(v int64) predicate.JudgeRecord

TimeCostGT applies the GT predicate on the "time_cost" field.

func TimeCostGTE

func TimeCostGTE(v int64) predicate.JudgeRecord

TimeCostGTE applies the GTE predicate on the "time_cost" field.

func TimeCostIn

func TimeCostIn(vs ...int64) predicate.JudgeRecord

TimeCostIn applies the In predicate on the "time_cost" field.

func TimeCostLT

func TimeCostLT(v int64) predicate.JudgeRecord

TimeCostLT applies the LT predicate on the "time_cost" field.

func TimeCostLTE

func TimeCostLTE(v int64) predicate.JudgeRecord

TimeCostLTE applies the LTE predicate on the "time_cost" field.

func TimeCostNEQ

func TimeCostNEQ(v int64) predicate.JudgeRecord

TimeCostNEQ applies the NEQ predicate on the "time_cost" field.

func TimeCostNotIn

func TimeCostNotIn(vs ...int64) predicate.JudgeRecord

TimeCostNotIn applies the NotIn predicate on the "time_cost" 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