Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.License) predicate.License
- func CreateTime(v time.Time) predicate.License
- func CreateTimeEQ(v time.Time) predicate.License
- func CreateTimeGT(v time.Time) predicate.License
- func CreateTimeGTE(v time.Time) predicate.License
- func CreateTimeIn(vs ...time.Time) predicate.License
- func CreateTimeLT(v time.Time) predicate.License
- func CreateTimeLTE(v time.Time) predicate.License
- func CreateTimeNEQ(v time.Time) predicate.License
- func CreateTimeNotIn(vs ...time.Time) predicate.License
- func ID(id int) predicate.License
- func IDEQ(id int) predicate.License
- func IDGT(id int) predicate.License
- func IDGTE(id int) predicate.License
- func IDIn(ids ...int) predicate.License
- func IDLT(id int) predicate.License
- func IDLTE(id int) predicate.License
- func IDNEQ(id int) predicate.License
- func IDNotIn(ids ...int) predicate.License
- func Not(p predicate.License) predicate.License
- func Or(predicates ...predicate.License) predicate.License
- func UpdateTime(v time.Time) predicate.License
- func UpdateTimeEQ(v time.Time) predicate.License
- func UpdateTimeGT(v time.Time) predicate.License
- func UpdateTimeGTE(v time.Time) predicate.License
- func UpdateTimeIn(vs ...time.Time) predicate.License
- func UpdateTimeLT(v time.Time) predicate.License
- func UpdateTimeLTE(v time.Time) predicate.License
- func UpdateTimeNEQ(v time.Time) predicate.License
- func UpdateTimeNotIn(vs ...time.Time) predicate.License
Constants ¶
const ( // Label holds the string label denoting the license type in the database. Label = "license" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" )
Variables ¶
var ( // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time )
Functions ¶
func CreateTime ¶ added in v0.11.3
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶ added in v0.11.3
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶ added in v0.11.3
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶ added in v0.11.3
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶ added in v0.11.3
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶ added in v0.11.3
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶ added in v0.11.3
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶ added in v0.11.3
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶ added in v0.11.3
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func UpdateTime ¶ added in v0.11.3
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶ added in v0.11.3
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶ added in v0.11.3
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶ added in v0.11.3
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶ added in v0.11.3
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶ added in v0.11.3
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶ added in v0.11.3
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶ added in v0.11.3
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
Types ¶
This section is empty.