Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DamagedPath) predicate.DamagedPath
- func FoundAt(v time.Time) predicate.DamagedPath
- func FoundAtEQ(v time.Time) predicate.DamagedPath
- func FoundAtGT(v time.Time) predicate.DamagedPath
- func FoundAtGTE(v time.Time) predicate.DamagedPath
- func FoundAtIn(vs ...time.Time) predicate.DamagedPath
- func FoundAtLT(v time.Time) predicate.DamagedPath
- func FoundAtLTE(v time.Time) predicate.DamagedPath
- func FoundAtNEQ(v time.Time) predicate.DamagedPath
- func FoundAtNotIn(vs ...time.Time) predicate.DamagedPath
- func HasSet() predicate.DamagedPath
- func HasSetWith(preds ...predicate.Set) predicate.DamagedPath
- func ID(id int) predicate.DamagedPath
- func IDEQ(id int) predicate.DamagedPath
- func IDGT(id int) predicate.DamagedPath
- func IDGTE(id int) predicate.DamagedPath
- func IDIn(ids ...int) predicate.DamagedPath
- func IDLT(id int) predicate.DamagedPath
- func IDLTE(id int) predicate.DamagedPath
- func IDNEQ(id int) predicate.DamagedPath
- func IDNotIn(ids ...int) predicate.DamagedPath
- func Not(p predicate.DamagedPath) predicate.DamagedPath
- func Or(predicates ...predicate.DamagedPath) predicate.DamagedPath
- func Path(v string) predicate.DamagedPath
- func PathContains(v string) predicate.DamagedPath
- func PathContainsFold(v string) predicate.DamagedPath
- func PathEQ(v string) predicate.DamagedPath
- func PathEqualFold(v string) predicate.DamagedPath
- func PathGT(v string) predicate.DamagedPath
- func PathGTE(v string) predicate.DamagedPath
- func PathHasPrefix(v string) predicate.DamagedPath
- func PathHasSuffix(v string) predicate.DamagedPath
- func PathIn(vs ...string) predicate.DamagedPath
- func PathLT(v string) predicate.DamagedPath
- func PathLTE(v string) predicate.DamagedPath
- func PathNEQ(v string) predicate.DamagedPath
- func PathNotIn(vs ...string) predicate.DamagedPath
- func SetID(v int64) predicate.DamagedPath
- func SetIDEQ(v int64) predicate.DamagedPath
- func SetIDIn(vs ...int64) predicate.DamagedPath
- func SetIDNEQ(v int64) predicate.DamagedPath
- func SetIDNotIn(vs ...int64) predicate.DamagedPath
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the damagedpath type in the database. Label = "damaged_path" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSetID holds the string denoting the set_id field in the database. FieldSetID = "set_id" // FieldPath holds the string denoting the path field in the database. FieldPath = "path" // FieldFoundAt holds the string denoting the found_at field in the database. FieldFoundAt = "found_at" // EdgeSet holds the string denoting the set edge name in mutations. EdgeSet = "set" // Table holds the table name of the damagedpath in the database. Table = "damaged_paths" // SetTable is the table that holds the set relation/edge. SetTable = "damaged_paths" // SetInverseTable is the table name for the Set entity. // It exists in this package in order to avoid circular dependency with the "set" package. SetInverseTable = "sets" // SetColumn is the table column denoting the set relation/edge. SetColumn = "set_id" )
Variables ¶
var Columns = []string{ FieldID, FieldSetID, FieldPath, FieldFoundAt, }
Columns holds all SQL columns for damagedpath fields.
Functions ¶
func And ¶
func And(predicates ...predicate.DamagedPath) predicate.DamagedPath
And groups predicates with the AND operator between them.
func FoundAt ¶
func FoundAt(v time.Time) predicate.DamagedPath
FoundAt applies equality check predicate on the "found_at" field. It's identical to FoundAtEQ.
func FoundAtEQ ¶
func FoundAtEQ(v time.Time) predicate.DamagedPath
FoundAtEQ applies the EQ predicate on the "found_at" field.
func FoundAtGT ¶
func FoundAtGT(v time.Time) predicate.DamagedPath
FoundAtGT applies the GT predicate on the "found_at" field.
func FoundAtGTE ¶
func FoundAtGTE(v time.Time) predicate.DamagedPath
FoundAtGTE applies the GTE predicate on the "found_at" field.
func FoundAtIn ¶
func FoundAtIn(vs ...time.Time) predicate.DamagedPath
FoundAtIn applies the In predicate on the "found_at" field.
func FoundAtLT ¶
func FoundAtLT(v time.Time) predicate.DamagedPath
FoundAtLT applies the LT predicate on the "found_at" field.
func FoundAtLTE ¶
func FoundAtLTE(v time.Time) predicate.DamagedPath
FoundAtLTE applies the LTE predicate on the "found_at" field.
func FoundAtNEQ ¶
func FoundAtNEQ(v time.Time) predicate.DamagedPath
FoundAtNEQ applies the NEQ predicate on the "found_at" field.
func FoundAtNotIn ¶
func FoundAtNotIn(vs ...time.Time) predicate.DamagedPath
FoundAtNotIn applies the NotIn predicate on the "found_at" field.
func HasSet ¶
func HasSet() predicate.DamagedPath
HasSet applies the HasEdge predicate on the "set" edge.
func HasSetWith ¶
func HasSetWith(preds ...predicate.Set) predicate.DamagedPath
HasSetWith applies the HasEdge predicate on the "set" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.DamagedPath
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.DamagedPath
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.DamagedPath
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.DamagedPath
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.DamagedPath
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.DamagedPath) predicate.DamagedPath
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.DamagedPath) predicate.DamagedPath
Or groups predicates with the OR operator between them.
func Path ¶
func Path(v string) predicate.DamagedPath
Path applies equality check predicate on the "path" field. It's identical to PathEQ.
func PathContains ¶
func PathContains(v string) predicate.DamagedPath
PathContains applies the Contains predicate on the "path" field.
func PathContainsFold ¶
func PathContainsFold(v string) predicate.DamagedPath
PathContainsFold applies the ContainsFold predicate on the "path" field.
func PathEQ ¶
func PathEQ(v string) predicate.DamagedPath
PathEQ applies the EQ predicate on the "path" field.
func PathEqualFold ¶
func PathEqualFold(v string) predicate.DamagedPath
PathEqualFold applies the EqualFold predicate on the "path" field.
func PathGT ¶
func PathGT(v string) predicate.DamagedPath
PathGT applies the GT predicate on the "path" field.
func PathGTE ¶
func PathGTE(v string) predicate.DamagedPath
PathGTE applies the GTE predicate on the "path" field.
func PathHasPrefix ¶
func PathHasPrefix(v string) predicate.DamagedPath
PathHasPrefix applies the HasPrefix predicate on the "path" field.
func PathHasSuffix ¶
func PathHasSuffix(v string) predicate.DamagedPath
PathHasSuffix applies the HasSuffix predicate on the "path" field.
func PathIn ¶
func PathIn(vs ...string) predicate.DamagedPath
PathIn applies the In predicate on the "path" field.
func PathLT ¶
func PathLT(v string) predicate.DamagedPath
PathLT applies the LT predicate on the "path" field.
func PathLTE ¶
func PathLTE(v string) predicate.DamagedPath
PathLTE applies the LTE predicate on the "path" field.
func PathNEQ ¶
func PathNEQ(v string) predicate.DamagedPath
PathNEQ applies the NEQ predicate on the "path" field.
func PathNotIn ¶
func PathNotIn(vs ...string) predicate.DamagedPath
PathNotIn applies the NotIn predicate on the "path" field.
func SetID ¶
func SetID(v int64) predicate.DamagedPath
SetID applies equality check predicate on the "set_id" field. It's identical to SetIDEQ.
func SetIDEQ ¶
func SetIDEQ(v int64) predicate.DamagedPath
SetIDEQ applies the EQ predicate on the "set_id" field.
func SetIDIn ¶
func SetIDIn(vs ...int64) predicate.DamagedPath
SetIDIn applies the In predicate on the "set_id" field.
func SetIDNEQ ¶
func SetIDNEQ(v int64) predicate.DamagedPath
SetIDNEQ applies the NEQ predicate on the "set_id" field.
func SetIDNotIn ¶
func SetIDNotIn(vs ...int64) predicate.DamagedPath
SetIDNotIn applies the NotIn predicate on the "set_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 DamagedPath queries.
func ByFoundAt ¶
func ByFoundAt(opts ...sql.OrderTermOption) OrderOption
ByFoundAt orders the results by the found_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPath ¶
func ByPath(opts ...sql.OrderTermOption) OrderOption
ByPath orders the results by the path field.
func BySetField ¶
func BySetField(field string, opts ...sql.OrderTermOption) OrderOption
BySetField orders the results by set field.
func BySetID ¶
func BySetID(opts ...sql.OrderTermOption) OrderOption
BySetID orders the results by the set_id field.