Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AttachedFile) predicate.AttachedFile
- func AttachTime(v time.Time) predicate.AttachedFile
- func AttachTimeEQ(v time.Time) predicate.AttachedFile
- func AttachTimeGT(v time.Time) predicate.AttachedFile
- func AttachTimeGTE(v time.Time) predicate.AttachedFile
- func AttachTimeIn(vs ...time.Time) predicate.AttachedFile
- func AttachTimeLT(v time.Time) predicate.AttachedFile
- func AttachTimeLTE(v time.Time) predicate.AttachedFile
- func AttachTimeNEQ(v time.Time) predicate.AttachedFile
- func AttachTimeNotIn(vs ...time.Time) predicate.AttachedFile
- func FID(v int) predicate.AttachedFile
- func FIDEQ(v int) predicate.AttachedFile
- func FIDIn(vs ...int) predicate.AttachedFile
- func FIDNEQ(v int) predicate.AttachedFile
- func FIDNotIn(vs ...int) predicate.AttachedFile
- func HasFi() predicate.AttachedFile
- func HasFiWith(preds ...predicate.File) predicate.AttachedFile
- func HasProc() predicate.AttachedFile
- func HasProcWith(preds ...predicate.Process) predicate.AttachedFile
- func ID(id int) predicate.AttachedFile
- func IDEQ(id int) predicate.AttachedFile
- func IDGT(id int) predicate.AttachedFile
- func IDGTE(id int) predicate.AttachedFile
- func IDIn(ids ...int) predicate.AttachedFile
- func IDLT(id int) predicate.AttachedFile
- func IDLTE(id int) predicate.AttachedFile
- func IDNEQ(id int) predicate.AttachedFile
- func IDNotIn(ids ...int) predicate.AttachedFile
- func Not(p predicate.AttachedFile) predicate.AttachedFile
- func Or(predicates ...predicate.AttachedFile) predicate.AttachedFile
- func ProcID(v int) predicate.AttachedFile
- func ProcIDEQ(v int) predicate.AttachedFile
- func ProcIDIn(vs ...int) predicate.AttachedFile
- func ProcIDNEQ(v int) predicate.AttachedFile
- func ProcIDNotIn(vs ...int) predicate.AttachedFile
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the attachedfile type in the database. Label = "attached_file" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAttachTime holds the string denoting the attach_time field in the database. FieldAttachTime = "attach_time" // FieldFID holds the string denoting the f_id field in the database. FieldFID = "f_id" // FieldProcID holds the string denoting the proc_id field in the database. FieldProcID = "proc_id" // EdgeFi holds the string denoting the fi edge name in mutations. EdgeFi = "fi" // EdgeProc holds the string denoting the proc edge name in mutations. EdgeProc = "proc" // Table holds the table name of the attachedfile in the database. Table = "attached_files" // FiTable is the table that holds the fi relation/edge. FiTable = "attached_files" // FiInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FiInverseTable = "files" // FiColumn is the table column denoting the fi relation/edge. FiColumn = "f_id" // ProcTable is the table that holds the proc relation/edge. ProcTable = "attached_files" // ProcInverseTable is the table name for the Process entity. // It exists in this package in order to avoid circular dependency with the "process" package. ProcInverseTable = "processes" // ProcColumn is the table column denoting the proc relation/edge. ProcColumn = "proc_id" )
Variables ¶
var Columns = []string{ FieldID, FieldAttachTime, FieldFID, FieldProcID, }
Columns holds all SQL columns for attachedfile fields.
var ( // DefaultAttachTime holds the default value on creation for the "attach_time" field. DefaultAttachTime func() time.Time )
Functions ¶
func And ¶
func And(predicates ...predicate.AttachedFile) predicate.AttachedFile
And groups predicates with the AND operator between them.
func AttachTime ¶
func AttachTime(v time.Time) predicate.AttachedFile
AttachTime applies equality check predicate on the "attach_time" field. It's identical to AttachTimeEQ.
func AttachTimeEQ ¶
func AttachTimeEQ(v time.Time) predicate.AttachedFile
AttachTimeEQ applies the EQ predicate on the "attach_time" field.
func AttachTimeGT ¶
func AttachTimeGT(v time.Time) predicate.AttachedFile
AttachTimeGT applies the GT predicate on the "attach_time" field.
func AttachTimeGTE ¶
func AttachTimeGTE(v time.Time) predicate.AttachedFile
AttachTimeGTE applies the GTE predicate on the "attach_time" field.
func AttachTimeIn ¶
func AttachTimeIn(vs ...time.Time) predicate.AttachedFile
AttachTimeIn applies the In predicate on the "attach_time" field.
func AttachTimeLT ¶
func AttachTimeLT(v time.Time) predicate.AttachedFile
AttachTimeLT applies the LT predicate on the "attach_time" field.
func AttachTimeLTE ¶
func AttachTimeLTE(v time.Time) predicate.AttachedFile
AttachTimeLTE applies the LTE predicate on the "attach_time" field.
func AttachTimeNEQ ¶
func AttachTimeNEQ(v time.Time) predicate.AttachedFile
AttachTimeNEQ applies the NEQ predicate on the "attach_time" field.
func AttachTimeNotIn ¶
func AttachTimeNotIn(vs ...time.Time) predicate.AttachedFile
AttachTimeNotIn applies the NotIn predicate on the "attach_time" field.
func FID ¶
func FID(v int) predicate.AttachedFile
FID applies equality check predicate on the "f_id" field. It's identical to FIDEQ.
func FIDEQ ¶
func FIDEQ(v int) predicate.AttachedFile
FIDEQ applies the EQ predicate on the "f_id" field.
func FIDIn ¶
func FIDIn(vs ...int) predicate.AttachedFile
FIDIn applies the In predicate on the "f_id" field.
func FIDNEQ ¶
func FIDNEQ(v int) predicate.AttachedFile
FIDNEQ applies the NEQ predicate on the "f_id" field.
func FIDNotIn ¶
func FIDNotIn(vs ...int) predicate.AttachedFile
FIDNotIn applies the NotIn predicate on the "f_id" field.
func HasFi ¶
func HasFi() predicate.AttachedFile
HasFi applies the HasEdge predicate on the "fi" edge.
func HasFiWith ¶
func HasFiWith(preds ...predicate.File) predicate.AttachedFile
HasFiWith applies the HasEdge predicate on the "fi" edge with a given conditions (other predicates).
func HasProc ¶
func HasProc() predicate.AttachedFile
HasProc applies the HasEdge predicate on the "proc" edge.
func HasProcWith ¶
func HasProcWith(preds ...predicate.Process) predicate.AttachedFile
HasProcWith applies the HasEdge predicate on the "proc" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.AttachedFile
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.AttachedFile
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.AttachedFile
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.AttachedFile
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.AttachedFile
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.AttachedFile) predicate.AttachedFile
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AttachedFile) predicate.AttachedFile
Or groups predicates with the OR operator between them.
func ProcID ¶
func ProcID(v int) predicate.AttachedFile
ProcID applies equality check predicate on the "proc_id" field. It's identical to ProcIDEQ.
func ProcIDEQ ¶
func ProcIDEQ(v int) predicate.AttachedFile
ProcIDEQ applies the EQ predicate on the "proc_id" field.
func ProcIDIn ¶
func ProcIDIn(vs ...int) predicate.AttachedFile
ProcIDIn applies the In predicate on the "proc_id" field.
func ProcIDNEQ ¶
func ProcIDNEQ(v int) predicate.AttachedFile
ProcIDNEQ applies the NEQ predicate on the "proc_id" field.
func ProcIDNotIn ¶
func ProcIDNotIn(vs ...int) predicate.AttachedFile
ProcIDNotIn applies the NotIn predicate on the "proc_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.