Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ScriptExecutionRecord) predicate.ScriptExecutionRecord
- func CreateTime(v time.Time) predicate.ScriptExecutionRecord
- func CreateTimeEQ(v time.Time) predicate.ScriptExecutionRecord
- func CreateTimeGT(v time.Time) predicate.ScriptExecutionRecord
- func CreateTimeGTE(v time.Time) predicate.ScriptExecutionRecord
- func CreateTimeIn(vs ...time.Time) predicate.ScriptExecutionRecord
- func CreateTimeLT(v time.Time) predicate.ScriptExecutionRecord
- func CreateTimeLTE(v time.Time) predicate.ScriptExecutionRecord
- func CreateTimeNEQ(v time.Time) predicate.ScriptExecutionRecord
- func CreateTimeNotIn(vs ...time.Time) predicate.ScriptExecutionRecord
- func ExecuteResult(v string) predicate.ScriptExecutionRecord
- func ExecuteResultContains(v string) predicate.ScriptExecutionRecord
- func ExecuteResultContainsFold(v string) predicate.ScriptExecutionRecord
- func ExecuteResultEQ(v string) predicate.ScriptExecutionRecord
- func ExecuteResultEqualFold(v string) predicate.ScriptExecutionRecord
- func ExecuteResultGT(v string) predicate.ScriptExecutionRecord
- func ExecuteResultGTE(v string) predicate.ScriptExecutionRecord
- func ExecuteResultHasPrefix(v string) predicate.ScriptExecutionRecord
- func ExecuteResultHasSuffix(v string) predicate.ScriptExecutionRecord
- func ExecuteResultIn(vs ...string) predicate.ScriptExecutionRecord
- func ExecuteResultLT(v string) predicate.ScriptExecutionRecord
- func ExecuteResultLTE(v string) predicate.ScriptExecutionRecord
- func ExecuteResultNEQ(v string) predicate.ScriptExecutionRecord
- func ExecuteResultNotIn(vs ...string) predicate.ScriptExecutionRecord
- func ExecuteState(v int32) predicate.ScriptExecutionRecord
- func ExecuteStateEQ(v int32) predicate.ScriptExecutionRecord
- func ExecuteStateGT(v int32) predicate.ScriptExecutionRecord
- func ExecuteStateGTE(v int32) predicate.ScriptExecutionRecord
- func ExecuteStateIn(vs ...int32) predicate.ScriptExecutionRecord
- func ExecuteStateLT(v int32) predicate.ScriptExecutionRecord
- func ExecuteStateLTE(v int32) predicate.ScriptExecutionRecord
- func ExecuteStateNEQ(v int32) predicate.ScriptExecutionRecord
- func ExecuteStateNotIn(vs ...int32) predicate.ScriptExecutionRecord
- func FileAddress(v string) predicate.ScriptExecutionRecord
- func FileAddressContains(v string) predicate.ScriptExecutionRecord
- func FileAddressContainsFold(v string) predicate.ScriptExecutionRecord
- func FileAddressEQ(v string) predicate.ScriptExecutionRecord
- func FileAddressEqualFold(v string) predicate.ScriptExecutionRecord
- func FileAddressGT(v string) predicate.ScriptExecutionRecord
- func FileAddressGTE(v string) predicate.ScriptExecutionRecord
- func FileAddressHasPrefix(v string) predicate.ScriptExecutionRecord
- func FileAddressHasSuffix(v string) predicate.ScriptExecutionRecord
- func FileAddressIn(vs ...string) predicate.ScriptExecutionRecord
- func FileAddressLT(v string) predicate.ScriptExecutionRecord
- func FileAddressLTE(v string) predicate.ScriptExecutionRecord
- func FileAddressNEQ(v string) predicate.ScriptExecutionRecord
- func FileAddressNotIn(vs ...string) predicate.ScriptExecutionRecord
- func FkScriptID(v int32) predicate.ScriptExecutionRecord
- func FkScriptIDEQ(v int32) predicate.ScriptExecutionRecord
- func FkScriptIDGT(v int32) predicate.ScriptExecutionRecord
- func FkScriptIDGTE(v int32) predicate.ScriptExecutionRecord
- func FkScriptIDIn(vs ...int32) predicate.ScriptExecutionRecord
- func FkScriptIDLT(v int32) predicate.ScriptExecutionRecord
- func FkScriptIDLTE(v int32) predicate.ScriptExecutionRecord
- func FkScriptIDNEQ(v int32) predicate.ScriptExecutionRecord
- func FkScriptIDNotIn(vs ...int32) predicate.ScriptExecutionRecord
- func HasScript() predicate.ScriptExecutionRecord
- func HasScriptWith(preds ...predicate.Script) predicate.ScriptExecutionRecord
- func ID(id int32) predicate.ScriptExecutionRecord
- func IDEQ(id int32) predicate.ScriptExecutionRecord
- func IDGT(id int32) predicate.ScriptExecutionRecord
- func IDGTE(id int32) predicate.ScriptExecutionRecord
- func IDIn(ids ...int32) predicate.ScriptExecutionRecord
- func IDLT(id int32) predicate.ScriptExecutionRecord
- func IDLTE(id int32) predicate.ScriptExecutionRecord
- func IDNEQ(id int32) predicate.ScriptExecutionRecord
- func IDNotIn(ids ...int32) predicate.ScriptExecutionRecord
- func Not(p predicate.ScriptExecutionRecord) predicate.ScriptExecutionRecord
- func Or(predicates ...predicate.ScriptExecutionRecord) predicate.ScriptExecutionRecord
- func ScriptContent(v string) predicate.ScriptExecutionRecord
- func ScriptContentContains(v string) predicate.ScriptExecutionRecord
- func ScriptContentContainsFold(v string) predicate.ScriptExecutionRecord
- func ScriptContentEQ(v string) predicate.ScriptExecutionRecord
- func ScriptContentEqualFold(v string) predicate.ScriptExecutionRecord
- func ScriptContentGT(v string) predicate.ScriptExecutionRecord
- func ScriptContentGTE(v string) predicate.ScriptExecutionRecord
- func ScriptContentHasPrefix(v string) predicate.ScriptExecutionRecord
- func ScriptContentHasSuffix(v string) predicate.ScriptExecutionRecord
- func ScriptContentIn(vs ...string) predicate.ScriptExecutionRecord
- func ScriptContentLT(v string) predicate.ScriptExecutionRecord
- func ScriptContentLTE(v string) predicate.ScriptExecutionRecord
- func ScriptContentNEQ(v string) predicate.ScriptExecutionRecord
- func ScriptContentNotIn(vs ...string) predicate.ScriptExecutionRecord
- func ScriptName(v string) predicate.ScriptExecutionRecord
- func ScriptNameContains(v string) predicate.ScriptExecutionRecord
- func ScriptNameContainsFold(v string) predicate.ScriptExecutionRecord
- func ScriptNameEQ(v string) predicate.ScriptExecutionRecord
- func ScriptNameEqualFold(v string) predicate.ScriptExecutionRecord
- func ScriptNameGT(v string) predicate.ScriptExecutionRecord
- func ScriptNameGTE(v string) predicate.ScriptExecutionRecord
- func ScriptNameHasPrefix(v string) predicate.ScriptExecutionRecord
- func ScriptNameHasSuffix(v string) predicate.ScriptExecutionRecord
- func ScriptNameIn(vs ...string) predicate.ScriptExecutionRecord
- func ScriptNameLT(v string) predicate.ScriptExecutionRecord
- func ScriptNameLTE(v string) predicate.ScriptExecutionRecord
- func ScriptNameNEQ(v string) predicate.ScriptExecutionRecord
- func ScriptNameNotIn(vs ...string) predicate.ScriptExecutionRecord
- func TaskNumber(v int32) predicate.ScriptExecutionRecord
- func TaskNumberEQ(v int32) predicate.ScriptExecutionRecord
- func TaskNumberGT(v int32) predicate.ScriptExecutionRecord
- func TaskNumberGTE(v int32) predicate.ScriptExecutionRecord
- func TaskNumberIn(vs ...int32) predicate.ScriptExecutionRecord
- func TaskNumberLT(v int32) predicate.ScriptExecutionRecord
- func TaskNumberLTE(v int32) predicate.ScriptExecutionRecord
- func TaskNumberNEQ(v int32) predicate.ScriptExecutionRecord
- func TaskNumberNotIn(vs ...int32) predicate.ScriptExecutionRecord
- func UpdateTime(v time.Time) predicate.ScriptExecutionRecord
- func UpdateTimeEQ(v time.Time) predicate.ScriptExecutionRecord
- func UpdateTimeGT(v time.Time) predicate.ScriptExecutionRecord
- func UpdateTimeGTE(v time.Time) predicate.ScriptExecutionRecord
- func UpdateTimeIn(vs ...time.Time) predicate.ScriptExecutionRecord
- func UpdateTimeLT(v time.Time) predicate.ScriptExecutionRecord
- func UpdateTimeLTE(v time.Time) predicate.ScriptExecutionRecord
- func UpdateTimeNEQ(v time.Time) predicate.ScriptExecutionRecord
- func UpdateTimeNotIn(vs ...time.Time) predicate.ScriptExecutionRecord
- func UserID(v string) predicate.ScriptExecutionRecord
- func UserIDContains(v string) predicate.ScriptExecutionRecord
- func UserIDContainsFold(v string) predicate.ScriptExecutionRecord
- func UserIDEQ(v string) predicate.ScriptExecutionRecord
- func UserIDEqualFold(v string) predicate.ScriptExecutionRecord
- func UserIDGT(v string) predicate.ScriptExecutionRecord
- func UserIDGTE(v string) predicate.ScriptExecutionRecord
- func UserIDHasPrefix(v string) predicate.ScriptExecutionRecord
- func UserIDHasSuffix(v string) predicate.ScriptExecutionRecord
- func UserIDIn(vs ...string) predicate.ScriptExecutionRecord
- func UserIDLT(v string) predicate.ScriptExecutionRecord
- func UserIDLTE(v string) predicate.ScriptExecutionRecord
- func UserIDNEQ(v string) predicate.ScriptExecutionRecord
- func UserIDNotIn(vs ...string) predicate.ScriptExecutionRecord
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByExecuteResult(opts ...sql.OrderTermOption) OrderOption
- func ByExecuteState(opts ...sql.OrderTermOption) OrderOption
- func ByFileAddress(opts ...sql.OrderTermOption) OrderOption
- func ByFkScriptID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByScriptContent(opts ...sql.OrderTermOption) OrderOption
- func ByScriptField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByScriptName(opts ...sql.OrderTermOption) OrderOption
- func ByTaskNumber(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the scriptexecutionrecord type in the database. Label = "script_execution_record" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldFkScriptID holds the string denoting the fk_script_id field in the database. FieldFkScriptID = "fk_script_id" // FieldScriptContent holds the string denoting the script_content field in the database. FieldScriptContent = "script_content" // FieldTaskNumber holds the string denoting the task_number field in the database. FieldTaskNumber = "task_number" // FieldScriptName holds the string denoting the script_name field in the database. FieldScriptName = "script_name" // FieldFileAddress holds the string denoting the file_address field in the database. FieldFileAddress = "file_address" // FieldExecuteState holds the string denoting the execute_state field in the database. FieldExecuteState = "execute_state" // FieldExecuteResult holds the string denoting the execute_result field in the database. FieldExecuteResult = "execute_result" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // EdgeScript holds the string denoting the script edge name in mutations. EdgeScript = "script" // Table holds the table name of the scriptexecutionrecord in the database. Table = "script_execution_records" // ScriptTable is the table that holds the script relation/edge. ScriptTable = "script_execution_records" // ScriptInverseTable is the table name for the Script entity. // It exists in this package in order to avoid circular dependency with the "script" package. ScriptInverseTable = "scripts" // ScriptColumn is the table column denoting the script relation/edge. ScriptColumn = "script_script_execution_records" )
Variables ¶
var ( // FkScriptIDValidator is a validator for the "fk_script_id" field. It is called by the builders before save. FkScriptIDValidator func(int32) error // ScriptContentValidator is a validator for the "script_content" field. It is called by the builders before save. ScriptContentValidator func(string) error // TaskNumberValidator is a validator for the "task_number" field. It is called by the builders before save. TaskNumberValidator func(int32) error // ScriptNameValidator is a validator for the "script_name" field. It is called by the builders before save. ScriptNameValidator func(string) error // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime time.Time )
var Columns = []string{ FieldID, FieldUserID, FieldFkScriptID, FieldScriptContent, FieldTaskNumber, FieldScriptName, FieldFileAddress, FieldExecuteState, FieldExecuteResult, FieldCreateTime, FieldUpdateTime, }
Columns holds all SQL columns for scriptexecutionrecord fields.
var ForeignKeys = []string{
"script_script_execution_records",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "script_execution_records" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.ScriptExecutionRecord) predicate.ScriptExecutionRecord
And groups predicates with the AND operator between them.
func CreateTime ¶
func CreateTime(v time.Time) predicate.ScriptExecutionRecord
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.ScriptExecutionRecord
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.ScriptExecutionRecord
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.ScriptExecutionRecord
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.ScriptExecutionRecord
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.ScriptExecutionRecord
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.ScriptExecutionRecord
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.ScriptExecutionRecord
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.ScriptExecutionRecord
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func ExecuteResult ¶
func ExecuteResult(v string) predicate.ScriptExecutionRecord
ExecuteResult applies equality check predicate on the "execute_result" field. It's identical to ExecuteResultEQ.
func ExecuteResultContains ¶
func ExecuteResultContains(v string) predicate.ScriptExecutionRecord
ExecuteResultContains applies the Contains predicate on the "execute_result" field.
func ExecuteResultContainsFold ¶
func ExecuteResultContainsFold(v string) predicate.ScriptExecutionRecord
ExecuteResultContainsFold applies the ContainsFold predicate on the "execute_result" field.
func ExecuteResultEQ ¶
func ExecuteResultEQ(v string) predicate.ScriptExecutionRecord
ExecuteResultEQ applies the EQ predicate on the "execute_result" field.
func ExecuteResultEqualFold ¶
func ExecuteResultEqualFold(v string) predicate.ScriptExecutionRecord
ExecuteResultEqualFold applies the EqualFold predicate on the "execute_result" field.
func ExecuteResultGT ¶
func ExecuteResultGT(v string) predicate.ScriptExecutionRecord
ExecuteResultGT applies the GT predicate on the "execute_result" field.
func ExecuteResultGTE ¶
func ExecuteResultGTE(v string) predicate.ScriptExecutionRecord
ExecuteResultGTE applies the GTE predicate on the "execute_result" field.
func ExecuteResultHasPrefix ¶
func ExecuteResultHasPrefix(v string) predicate.ScriptExecutionRecord
ExecuteResultHasPrefix applies the HasPrefix predicate on the "execute_result" field.
func ExecuteResultHasSuffix ¶
func ExecuteResultHasSuffix(v string) predicate.ScriptExecutionRecord
ExecuteResultHasSuffix applies the HasSuffix predicate on the "execute_result" field.
func ExecuteResultIn ¶
func ExecuteResultIn(vs ...string) predicate.ScriptExecutionRecord
ExecuteResultIn applies the In predicate on the "execute_result" field.
func ExecuteResultLT ¶
func ExecuteResultLT(v string) predicate.ScriptExecutionRecord
ExecuteResultLT applies the LT predicate on the "execute_result" field.
func ExecuteResultLTE ¶
func ExecuteResultLTE(v string) predicate.ScriptExecutionRecord
ExecuteResultLTE applies the LTE predicate on the "execute_result" field.
func ExecuteResultNEQ ¶
func ExecuteResultNEQ(v string) predicate.ScriptExecutionRecord
ExecuteResultNEQ applies the NEQ predicate on the "execute_result" field.
func ExecuteResultNotIn ¶
func ExecuteResultNotIn(vs ...string) predicate.ScriptExecutionRecord
ExecuteResultNotIn applies the NotIn predicate on the "execute_result" field.
func ExecuteState ¶
func ExecuteState(v int32) predicate.ScriptExecutionRecord
ExecuteState applies equality check predicate on the "execute_state" field. It's identical to ExecuteStateEQ.
func ExecuteStateEQ ¶
func ExecuteStateEQ(v int32) predicate.ScriptExecutionRecord
ExecuteStateEQ applies the EQ predicate on the "execute_state" field.
func ExecuteStateGT ¶
func ExecuteStateGT(v int32) predicate.ScriptExecutionRecord
ExecuteStateGT applies the GT predicate on the "execute_state" field.
func ExecuteStateGTE ¶
func ExecuteStateGTE(v int32) predicate.ScriptExecutionRecord
ExecuteStateGTE applies the GTE predicate on the "execute_state" field.
func ExecuteStateIn ¶
func ExecuteStateIn(vs ...int32) predicate.ScriptExecutionRecord
ExecuteStateIn applies the In predicate on the "execute_state" field.
func ExecuteStateLT ¶
func ExecuteStateLT(v int32) predicate.ScriptExecutionRecord
ExecuteStateLT applies the LT predicate on the "execute_state" field.
func ExecuteStateLTE ¶
func ExecuteStateLTE(v int32) predicate.ScriptExecutionRecord
ExecuteStateLTE applies the LTE predicate on the "execute_state" field.
func ExecuteStateNEQ ¶
func ExecuteStateNEQ(v int32) predicate.ScriptExecutionRecord
ExecuteStateNEQ applies the NEQ predicate on the "execute_state" field.
func ExecuteStateNotIn ¶
func ExecuteStateNotIn(vs ...int32) predicate.ScriptExecutionRecord
ExecuteStateNotIn applies the NotIn predicate on the "execute_state" field.
func FileAddress ¶ added in v0.0.5
func FileAddress(v string) predicate.ScriptExecutionRecord
FileAddress applies equality check predicate on the "file_address" field. It's identical to FileAddressEQ.
func FileAddressContains ¶ added in v0.0.5
func FileAddressContains(v string) predicate.ScriptExecutionRecord
FileAddressContains applies the Contains predicate on the "file_address" field.
func FileAddressContainsFold ¶ added in v0.0.5
func FileAddressContainsFold(v string) predicate.ScriptExecutionRecord
FileAddressContainsFold applies the ContainsFold predicate on the "file_address" field.
func FileAddressEQ ¶ added in v0.0.5
func FileAddressEQ(v string) predicate.ScriptExecutionRecord
FileAddressEQ applies the EQ predicate on the "file_address" field.
func FileAddressEqualFold ¶ added in v0.0.5
func FileAddressEqualFold(v string) predicate.ScriptExecutionRecord
FileAddressEqualFold applies the EqualFold predicate on the "file_address" field.
func FileAddressGT ¶ added in v0.0.5
func FileAddressGT(v string) predicate.ScriptExecutionRecord
FileAddressGT applies the GT predicate on the "file_address" field.
func FileAddressGTE ¶ added in v0.0.5
func FileAddressGTE(v string) predicate.ScriptExecutionRecord
FileAddressGTE applies the GTE predicate on the "file_address" field.
func FileAddressHasPrefix ¶ added in v0.0.5
func FileAddressHasPrefix(v string) predicate.ScriptExecutionRecord
FileAddressHasPrefix applies the HasPrefix predicate on the "file_address" field.
func FileAddressHasSuffix ¶ added in v0.0.5
func FileAddressHasSuffix(v string) predicate.ScriptExecutionRecord
FileAddressHasSuffix applies the HasSuffix predicate on the "file_address" field.
func FileAddressIn ¶ added in v0.0.5
func FileAddressIn(vs ...string) predicate.ScriptExecutionRecord
FileAddressIn applies the In predicate on the "file_address" field.
func FileAddressLT ¶ added in v0.0.5
func FileAddressLT(v string) predicate.ScriptExecutionRecord
FileAddressLT applies the LT predicate on the "file_address" field.
func FileAddressLTE ¶ added in v0.0.5
func FileAddressLTE(v string) predicate.ScriptExecutionRecord
FileAddressLTE applies the LTE predicate on the "file_address" field.
func FileAddressNEQ ¶ added in v0.0.5
func FileAddressNEQ(v string) predicate.ScriptExecutionRecord
FileAddressNEQ applies the NEQ predicate on the "file_address" field.
func FileAddressNotIn ¶ added in v0.0.5
func FileAddressNotIn(vs ...string) predicate.ScriptExecutionRecord
FileAddressNotIn applies the NotIn predicate on the "file_address" field.
func FkScriptID ¶
func FkScriptID(v int32) predicate.ScriptExecutionRecord
FkScriptID applies equality check predicate on the "fk_script_id" field. It's identical to FkScriptIDEQ.
func FkScriptIDEQ ¶
func FkScriptIDEQ(v int32) predicate.ScriptExecutionRecord
FkScriptIDEQ applies the EQ predicate on the "fk_script_id" field.
func FkScriptIDGT ¶
func FkScriptIDGT(v int32) predicate.ScriptExecutionRecord
FkScriptIDGT applies the GT predicate on the "fk_script_id" field.
func FkScriptIDGTE ¶
func FkScriptIDGTE(v int32) predicate.ScriptExecutionRecord
FkScriptIDGTE applies the GTE predicate on the "fk_script_id" field.
func FkScriptIDIn ¶
func FkScriptIDIn(vs ...int32) predicate.ScriptExecutionRecord
FkScriptIDIn applies the In predicate on the "fk_script_id" field.
func FkScriptIDLT ¶
func FkScriptIDLT(v int32) predicate.ScriptExecutionRecord
FkScriptIDLT applies the LT predicate on the "fk_script_id" field.
func FkScriptIDLTE ¶
func FkScriptIDLTE(v int32) predicate.ScriptExecutionRecord
FkScriptIDLTE applies the LTE predicate on the "fk_script_id" field.
func FkScriptIDNEQ ¶
func FkScriptIDNEQ(v int32) predicate.ScriptExecutionRecord
FkScriptIDNEQ applies the NEQ predicate on the "fk_script_id" field.
func FkScriptIDNotIn ¶
func FkScriptIDNotIn(vs ...int32) predicate.ScriptExecutionRecord
FkScriptIDNotIn applies the NotIn predicate on the "fk_script_id" field.
func HasScript ¶
func HasScript() predicate.ScriptExecutionRecord
HasScript applies the HasEdge predicate on the "script" edge.
func HasScriptWith ¶
func HasScriptWith(preds ...predicate.Script) predicate.ScriptExecutionRecord
HasScriptWith applies the HasEdge predicate on the "script" edge with a given conditions (other predicates).
func ID ¶
func ID(id int32) predicate.ScriptExecutionRecord
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int32) predicate.ScriptExecutionRecord
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int32) predicate.ScriptExecutionRecord
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int32) predicate.ScriptExecutionRecord
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int32) predicate.ScriptExecutionRecord
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int32) predicate.ScriptExecutionRecord
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int32) predicate.ScriptExecutionRecord
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int32) predicate.ScriptExecutionRecord
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int32) predicate.ScriptExecutionRecord
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ScriptExecutionRecord) predicate.ScriptExecutionRecord
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ScriptExecutionRecord) predicate.ScriptExecutionRecord
Or groups predicates with the OR operator between them.
func ScriptContent ¶
func ScriptContent(v string) predicate.ScriptExecutionRecord
ScriptContent applies equality check predicate on the "script_content" field. It's identical to ScriptContentEQ.
func ScriptContentContains ¶
func ScriptContentContains(v string) predicate.ScriptExecutionRecord
ScriptContentContains applies the Contains predicate on the "script_content" field.
func ScriptContentContainsFold ¶
func ScriptContentContainsFold(v string) predicate.ScriptExecutionRecord
ScriptContentContainsFold applies the ContainsFold predicate on the "script_content" field.
func ScriptContentEQ ¶
func ScriptContentEQ(v string) predicate.ScriptExecutionRecord
ScriptContentEQ applies the EQ predicate on the "script_content" field.
func ScriptContentEqualFold ¶
func ScriptContentEqualFold(v string) predicate.ScriptExecutionRecord
ScriptContentEqualFold applies the EqualFold predicate on the "script_content" field.
func ScriptContentGT ¶
func ScriptContentGT(v string) predicate.ScriptExecutionRecord
ScriptContentGT applies the GT predicate on the "script_content" field.
func ScriptContentGTE ¶
func ScriptContentGTE(v string) predicate.ScriptExecutionRecord
ScriptContentGTE applies the GTE predicate on the "script_content" field.
func ScriptContentHasPrefix ¶
func ScriptContentHasPrefix(v string) predicate.ScriptExecutionRecord
ScriptContentHasPrefix applies the HasPrefix predicate on the "script_content" field.
func ScriptContentHasSuffix ¶
func ScriptContentHasSuffix(v string) predicate.ScriptExecutionRecord
ScriptContentHasSuffix applies the HasSuffix predicate on the "script_content" field.
func ScriptContentIn ¶
func ScriptContentIn(vs ...string) predicate.ScriptExecutionRecord
ScriptContentIn applies the In predicate on the "script_content" field.
func ScriptContentLT ¶
func ScriptContentLT(v string) predicate.ScriptExecutionRecord
ScriptContentLT applies the LT predicate on the "script_content" field.
func ScriptContentLTE ¶
func ScriptContentLTE(v string) predicate.ScriptExecutionRecord
ScriptContentLTE applies the LTE predicate on the "script_content" field.
func ScriptContentNEQ ¶
func ScriptContentNEQ(v string) predicate.ScriptExecutionRecord
ScriptContentNEQ applies the NEQ predicate on the "script_content" field.
func ScriptContentNotIn ¶
func ScriptContentNotIn(vs ...string) predicate.ScriptExecutionRecord
ScriptContentNotIn applies the NotIn predicate on the "script_content" field.
func ScriptName ¶ added in v0.0.5
func ScriptName(v string) predicate.ScriptExecutionRecord
ScriptName applies equality check predicate on the "script_name" field. It's identical to ScriptNameEQ.
func ScriptNameContains ¶ added in v0.0.5
func ScriptNameContains(v string) predicate.ScriptExecutionRecord
ScriptNameContains applies the Contains predicate on the "script_name" field.
func ScriptNameContainsFold ¶ added in v0.0.5
func ScriptNameContainsFold(v string) predicate.ScriptExecutionRecord
ScriptNameContainsFold applies the ContainsFold predicate on the "script_name" field.
func ScriptNameEQ ¶ added in v0.0.5
func ScriptNameEQ(v string) predicate.ScriptExecutionRecord
ScriptNameEQ applies the EQ predicate on the "script_name" field.
func ScriptNameEqualFold ¶ added in v0.0.5
func ScriptNameEqualFold(v string) predicate.ScriptExecutionRecord
ScriptNameEqualFold applies the EqualFold predicate on the "script_name" field.
func ScriptNameGT ¶ added in v0.0.5
func ScriptNameGT(v string) predicate.ScriptExecutionRecord
ScriptNameGT applies the GT predicate on the "script_name" field.
func ScriptNameGTE ¶ added in v0.0.5
func ScriptNameGTE(v string) predicate.ScriptExecutionRecord
ScriptNameGTE applies the GTE predicate on the "script_name" field.
func ScriptNameHasPrefix ¶ added in v0.0.5
func ScriptNameHasPrefix(v string) predicate.ScriptExecutionRecord
ScriptNameHasPrefix applies the HasPrefix predicate on the "script_name" field.
func ScriptNameHasSuffix ¶ added in v0.0.5
func ScriptNameHasSuffix(v string) predicate.ScriptExecutionRecord
ScriptNameHasSuffix applies the HasSuffix predicate on the "script_name" field.
func ScriptNameIn ¶ added in v0.0.5
func ScriptNameIn(vs ...string) predicate.ScriptExecutionRecord
ScriptNameIn applies the In predicate on the "script_name" field.
func ScriptNameLT ¶ added in v0.0.5
func ScriptNameLT(v string) predicate.ScriptExecutionRecord
ScriptNameLT applies the LT predicate on the "script_name" field.
func ScriptNameLTE ¶ added in v0.0.5
func ScriptNameLTE(v string) predicate.ScriptExecutionRecord
ScriptNameLTE applies the LTE predicate on the "script_name" field.
func ScriptNameNEQ ¶ added in v0.0.5
func ScriptNameNEQ(v string) predicate.ScriptExecutionRecord
ScriptNameNEQ applies the NEQ predicate on the "script_name" field.
func ScriptNameNotIn ¶ added in v0.0.5
func ScriptNameNotIn(vs ...string) predicate.ScriptExecutionRecord
ScriptNameNotIn applies the NotIn predicate on the "script_name" field.
func TaskNumber ¶ added in v0.0.5
func TaskNumber(v int32) predicate.ScriptExecutionRecord
TaskNumber applies equality check predicate on the "task_number" field. It's identical to TaskNumberEQ.
func TaskNumberEQ ¶ added in v0.0.5
func TaskNumberEQ(v int32) predicate.ScriptExecutionRecord
TaskNumberEQ applies the EQ predicate on the "task_number" field.
func TaskNumberGT ¶ added in v0.0.5
func TaskNumberGT(v int32) predicate.ScriptExecutionRecord
TaskNumberGT applies the GT predicate on the "task_number" field.
func TaskNumberGTE ¶ added in v0.0.5
func TaskNumberGTE(v int32) predicate.ScriptExecutionRecord
TaskNumberGTE applies the GTE predicate on the "task_number" field.
func TaskNumberIn ¶ added in v0.0.5
func TaskNumberIn(vs ...int32) predicate.ScriptExecutionRecord
TaskNumberIn applies the In predicate on the "task_number" field.
func TaskNumberLT ¶ added in v0.0.5
func TaskNumberLT(v int32) predicate.ScriptExecutionRecord
TaskNumberLT applies the LT predicate on the "task_number" field.
func TaskNumberLTE ¶ added in v0.0.5
func TaskNumberLTE(v int32) predicate.ScriptExecutionRecord
TaskNumberLTE applies the LTE predicate on the "task_number" field.
func TaskNumberNEQ ¶ added in v0.0.5
func TaskNumberNEQ(v int32) predicate.ScriptExecutionRecord
TaskNumberNEQ applies the NEQ predicate on the "task_number" field.
func TaskNumberNotIn ¶ added in v0.0.5
func TaskNumberNotIn(vs ...int32) predicate.ScriptExecutionRecord
TaskNumberNotIn applies the NotIn predicate on the "task_number" field.
func UpdateTime ¶
func UpdateTime(v time.Time) predicate.ScriptExecutionRecord
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
func UpdateTimeEQ(v time.Time) predicate.ScriptExecutionRecord
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
func UpdateTimeGT(v time.Time) predicate.ScriptExecutionRecord
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
func UpdateTimeGTE(v time.Time) predicate.ScriptExecutionRecord
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
func UpdateTimeIn(vs ...time.Time) predicate.ScriptExecutionRecord
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
func UpdateTimeLT(v time.Time) predicate.ScriptExecutionRecord
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
func UpdateTimeLTE(v time.Time) predicate.ScriptExecutionRecord
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
func UpdateTimeNEQ(v time.Time) predicate.ScriptExecutionRecord
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
func UpdateTimeNotIn(vs ...time.Time) predicate.ScriptExecutionRecord
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func UserID ¶
func UserID(v string) predicate.ScriptExecutionRecord
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
func UserIDContains(v string) predicate.ScriptExecutionRecord
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
func UserIDContainsFold(v string) predicate.ScriptExecutionRecord
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEQ ¶
func UserIDEQ(v string) predicate.ScriptExecutionRecord
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDEqualFold ¶
func UserIDEqualFold(v string) predicate.ScriptExecutionRecord
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v string) predicate.ScriptExecutionRecord
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v string) predicate.ScriptExecutionRecord
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDHasPrefix ¶
func UserIDHasPrefix(v string) predicate.ScriptExecutionRecord
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
func UserIDHasSuffix(v string) predicate.ScriptExecutionRecord
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...string) predicate.ScriptExecutionRecord
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v string) predicate.ScriptExecutionRecord
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v string) predicate.ScriptExecutionRecord
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v string) predicate.ScriptExecutionRecord
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...string) predicate.ScriptExecutionRecord
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ScriptExecutionRecord queries.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByExecuteResult ¶
func ByExecuteResult(opts ...sql.OrderTermOption) OrderOption
ByExecuteResult orders the results by the execute_result field.
func ByExecuteState ¶
func ByExecuteState(opts ...sql.OrderTermOption) OrderOption
ByExecuteState orders the results by the execute_state field.
func ByFileAddress ¶ added in v0.0.5
func ByFileAddress(opts ...sql.OrderTermOption) OrderOption
ByFileAddress orders the results by the file_address field.
func ByFkScriptID ¶
func ByFkScriptID(opts ...sql.OrderTermOption) OrderOption
ByFkScriptID orders the results by the fk_script_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByScriptContent ¶
func ByScriptContent(opts ...sql.OrderTermOption) OrderOption
ByScriptContent orders the results by the script_content field.
func ByScriptField ¶
func ByScriptField(field string, opts ...sql.OrderTermOption) OrderOption
ByScriptField orders the results by script field.
func ByScriptName ¶ added in v0.0.5
func ByScriptName(opts ...sql.OrderTermOption) OrderOption
ByScriptName orders the results by the script_name field.
func ByTaskNumber ¶ added in v0.0.5
func ByTaskNumber(opts ...sql.OrderTermOption) OrderOption
ByTaskNumber orders the results by the task_number field.
func ByUpdateTime ¶
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.