Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.JudgeRecord) predicate.JudgeRecord
- func FinishedTime(v time.Time) predicate.JudgeRecord
- func FinishedTimeEQ(v time.Time) predicate.JudgeRecord
- func FinishedTimeGT(v time.Time) predicate.JudgeRecord
- func FinishedTimeGTE(v time.Time) predicate.JudgeRecord
- func FinishedTimeIn(vs ...time.Time) predicate.JudgeRecord
- func FinishedTimeLT(v time.Time) predicate.JudgeRecord
- func FinishedTimeLTE(v time.Time) predicate.JudgeRecord
- func FinishedTimeNEQ(v time.Time) predicate.JudgeRecord
- func FinishedTimeNotIn(vs ...time.Time) predicate.JudgeRecord
- func HasUser() predicate.JudgeRecord
- func HasUserWith(preds ...predicate.User) predicate.JudgeRecord
- func ID(id int64) predicate.JudgeRecord
- func IDEQ(id int64) predicate.JudgeRecord
- func IDGT(id int64) predicate.JudgeRecord
- func IDGTE(id int64) predicate.JudgeRecord
- func IDIn(ids ...int64) predicate.JudgeRecord
- func IDLT(id int64) predicate.JudgeRecord
- func IDLTE(id int64) predicate.JudgeRecord
- func IDNEQ(id int64) predicate.JudgeRecord
- func IDNotIn(ids ...int64) predicate.JudgeRecord
- func JudgeTime(v time.Time) predicate.JudgeRecord
- func JudgeTimeEQ(v time.Time) predicate.JudgeRecord
- func JudgeTimeGT(v time.Time) predicate.JudgeRecord
- func JudgeTimeGTE(v time.Time) predicate.JudgeRecord
- func JudgeTimeIn(vs ...time.Time) predicate.JudgeRecord
- func JudgeTimeLT(v time.Time) predicate.JudgeRecord
- func JudgeTimeLTE(v time.Time) predicate.JudgeRecord
- func JudgeTimeNEQ(v time.Time) predicate.JudgeRecord
- func JudgeTimeNotIn(vs ...time.Time) predicate.JudgeRecord
- func MemoryCost(v int64) predicate.JudgeRecord
- func MemoryCostEQ(v int64) predicate.JudgeRecord
- func MemoryCostGT(v int64) predicate.JudgeRecord
- func MemoryCostGTE(v int64) predicate.JudgeRecord
- func MemoryCostIn(vs ...int64) predicate.JudgeRecord
- func MemoryCostLT(v int64) predicate.JudgeRecord
- func MemoryCostLTE(v int64) predicate.JudgeRecord
- func MemoryCostNEQ(v int64) predicate.JudgeRecord
- func MemoryCostNotIn(vs ...int64) predicate.JudgeRecord
- func Not(p predicate.JudgeRecord) predicate.JudgeRecord
- func Or(predicates ...predicate.JudgeRecord) predicate.JudgeRecord
- func Status(v int64) predicate.JudgeRecord
- func StatusEQ(v int64) predicate.JudgeRecord
- func StatusGT(v int64) predicate.JudgeRecord
- func StatusGTE(v int64) predicate.JudgeRecord
- func StatusIn(vs ...int64) predicate.JudgeRecord
- func StatusLT(v int64) predicate.JudgeRecord
- func StatusLTE(v int64) predicate.JudgeRecord
- func StatusNEQ(v int64) predicate.JudgeRecord
- func StatusNotIn(vs ...int64) predicate.JudgeRecord
- func TimeCost(v int64) predicate.JudgeRecord
- func TimeCostEQ(v int64) predicate.JudgeRecord
- func TimeCostGT(v int64) predicate.JudgeRecord
- func TimeCostGTE(v int64) predicate.JudgeRecord
- func TimeCostIn(vs ...int64) predicate.JudgeRecord
- func TimeCostLT(v int64) predicate.JudgeRecord
- func TimeCostLTE(v int64) predicate.JudgeRecord
- func TimeCostNEQ(v int64) predicate.JudgeRecord
- func TimeCostNotIn(vs ...int64) predicate.JudgeRecord
- func ValidColumn(column string) bool
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldJudgeTime, FieldFinishedTime, FieldTimeCost, FieldMemoryCost, FieldStatus, }
Columns holds all SQL columns for judgerecord fields.
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 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 ¶
func Not(p predicate.JudgeRecord) predicate.JudgeRecord
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.