Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Node) predicate.Node
- func HasNext() predicate.Node
- func HasNextWith(preds ...predicate.Node) predicate.Node
- func HasPrev() predicate.Node
- func HasPrevWith(preds ...predicate.Node) predicate.Node
- func ID(id string) predicate.Node
- func IDEQ(id string) predicate.Node
- func IDGT(id string) predicate.Node
- func IDGTE(id string) predicate.Node
- func IDIn(ids ...string) predicate.Node
- func IDLT(id string) predicate.Node
- func IDLTE(id string) predicate.Node
- func IDNEQ(id string) predicate.Node
- func IDNotIn(ids ...string) predicate.Node
- func Not(p predicate.Node) predicate.Node
- func Or(predicates ...predicate.Node) predicate.Node
- func UpdatedAt(v time.Time) predicate.Node
- func UpdatedAtEQ(v time.Time) predicate.Node
- func UpdatedAtGT(v time.Time) predicate.Node
- func UpdatedAtGTE(v time.Time) predicate.Node
- func UpdatedAtIn(vs ...time.Time) predicate.Node
- func UpdatedAtIsNil() predicate.Node
- func UpdatedAtLT(v time.Time) predicate.Node
- func UpdatedAtLTE(v time.Time) predicate.Node
- func UpdatedAtNEQ(v time.Time) predicate.Node
- func UpdatedAtNotIn(vs ...time.Time) predicate.Node
- func UpdatedAtNotNil() predicate.Node
- func Value(v int) predicate.Node
- func ValueEQ(v int) predicate.Node
- func ValueGT(v int) predicate.Node
- func ValueGTE(v int) predicate.Node
- func ValueIn(vs ...int) predicate.Node
- func ValueIsNil() predicate.Node
- func ValueLT(v int) predicate.Node
- func ValueLTE(v int) predicate.Node
- func ValueNEQ(v int) predicate.Node
- func ValueNotIn(vs ...int) predicate.Node
- func ValueNotNil() predicate.Node
Constants ¶
const ( // Label holds the string label denoting the node type in the database. Label = "node" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgePrev holds the string denoting the prev edge name in mutations. EdgePrev = "prev" // EdgeNext holds the string denoting the next edge name in mutations. EdgeNext = "next" // PrevInverseLabel holds the string label denoting the prev inverse edge type in the database. PrevInverseLabel = "node_next" // NextLabel holds the string label denoting the next edge type in the database. NextLabel = "node_next" )
Variables ¶
var ( // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
Functions ¶
func HasNextWith ¶
HasNextWith applies the HasEdge predicate on the "next" edge with a given conditions (other predicates).
func HasPrevWith ¶
HasPrevWith applies the HasEdge predicate on the "prev" edge with a given conditions (other predicates).
func UpdatedAt ¶ added in v0.11.8
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶ added in v0.11.8
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶ added in v0.11.8
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶ added in v0.11.8
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶ added in v0.11.8
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶ added in v0.11.8
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶ added in v0.11.8
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶ added in v0.11.8
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶ added in v0.11.8
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶ added in v0.11.8
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶ added in v0.11.8
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func Value ¶
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueIsNil ¶
ValueIsNil applies the IsNil predicate on the "value" field.
func ValueNotIn ¶
ValueNotIn applies the NotIn predicate on the "value" field.
func ValueNotNil ¶
ValueNotNil applies the NotNil predicate on the "value" field.
Types ¶
This section is empty.