attachedfile

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for attachedfile fields.

View Source
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 ID

func ID(id int) predicate.AttachedFile

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.AttachedFile

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.AttachedFile

IDGT applies the GT predicate on the ID field.

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 IDLT

func IDLT(id int) predicate.AttachedFile

IDLT applies the LT 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

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

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