Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MaintenanceEntry) predicate.MaintenanceEntry
- func Cost(v float64) predicate.MaintenanceEntry
- func CostEQ(v float64) predicate.MaintenanceEntry
- func CostGT(v float64) predicate.MaintenanceEntry
- func CostGTE(v float64) predicate.MaintenanceEntry
- func CostIn(vs ...float64) predicate.MaintenanceEntry
- func CostLT(v float64) predicate.MaintenanceEntry
- func CostLTE(v float64) predicate.MaintenanceEntry
- func CostNEQ(v float64) predicate.MaintenanceEntry
- func CostNotIn(vs ...float64) predicate.MaintenanceEntry
- func CreatedAt(v time.Time) predicate.MaintenanceEntry
- func CreatedAtEQ(v time.Time) predicate.MaintenanceEntry
- func CreatedAtGT(v time.Time) predicate.MaintenanceEntry
- func CreatedAtGTE(v time.Time) predicate.MaintenanceEntry
- func CreatedAtIn(vs ...time.Time) predicate.MaintenanceEntry
- func CreatedAtLT(v time.Time) predicate.MaintenanceEntry
- func CreatedAtLTE(v time.Time) predicate.MaintenanceEntry
- func CreatedAtNEQ(v time.Time) predicate.MaintenanceEntry
- func CreatedAtNotIn(vs ...time.Time) predicate.MaintenanceEntry
- func Date(v time.Time) predicate.MaintenanceEntry
- func DateEQ(v time.Time) predicate.MaintenanceEntry
- func DateGT(v time.Time) predicate.MaintenanceEntry
- func DateGTE(v time.Time) predicate.MaintenanceEntry
- func DateIn(vs ...time.Time) predicate.MaintenanceEntry
- func DateIsNil() predicate.MaintenanceEntry
- func DateLT(v time.Time) predicate.MaintenanceEntry
- func DateLTE(v time.Time) predicate.MaintenanceEntry
- func DateNEQ(v time.Time) predicate.MaintenanceEntry
- func DateNotIn(vs ...time.Time) predicate.MaintenanceEntry
- func DateNotNil() predicate.MaintenanceEntry
- func Description(v string) predicate.MaintenanceEntry
- func DescriptionContains(v string) predicate.MaintenanceEntry
- func DescriptionContainsFold(v string) predicate.MaintenanceEntry
- func DescriptionEQ(v string) predicate.MaintenanceEntry
- func DescriptionEqualFold(v string) predicate.MaintenanceEntry
- func DescriptionGT(v string) predicate.MaintenanceEntry
- func DescriptionGTE(v string) predicate.MaintenanceEntry
- func DescriptionHasPrefix(v string) predicate.MaintenanceEntry
- func DescriptionHasSuffix(v string) predicate.MaintenanceEntry
- func DescriptionIn(vs ...string) predicate.MaintenanceEntry
- func DescriptionIsNil() predicate.MaintenanceEntry
- func DescriptionLT(v string) predicate.MaintenanceEntry
- func DescriptionLTE(v string) predicate.MaintenanceEntry
- func DescriptionNEQ(v string) predicate.MaintenanceEntry
- func DescriptionNotIn(vs ...string) predicate.MaintenanceEntry
- func DescriptionNotNil() predicate.MaintenanceEntry
- func HasItem() predicate.MaintenanceEntry
- func HasItemWith(preds ...predicate.Item) predicate.MaintenanceEntry
- func ID(id uuid.UUID) predicate.MaintenanceEntry
- func IDEQ(id uuid.UUID) predicate.MaintenanceEntry
- func IDGT(id uuid.UUID) predicate.MaintenanceEntry
- func IDGTE(id uuid.UUID) predicate.MaintenanceEntry
- func IDIn(ids ...uuid.UUID) predicate.MaintenanceEntry
- func IDLT(id uuid.UUID) predicate.MaintenanceEntry
- func IDLTE(id uuid.UUID) predicate.MaintenanceEntry
- func IDNEQ(id uuid.UUID) predicate.MaintenanceEntry
- func IDNotIn(ids ...uuid.UUID) predicate.MaintenanceEntry
- func ItemID(v uuid.UUID) predicate.MaintenanceEntry
- func ItemIDEQ(v uuid.UUID) predicate.MaintenanceEntry
- func ItemIDIn(vs ...uuid.UUID) predicate.MaintenanceEntry
- func ItemIDNEQ(v uuid.UUID) predicate.MaintenanceEntry
- func ItemIDNotIn(vs ...uuid.UUID) predicate.MaintenanceEntry
- func Name(v string) predicate.MaintenanceEntry
- func NameContains(v string) predicate.MaintenanceEntry
- func NameContainsFold(v string) predicate.MaintenanceEntry
- func NameEQ(v string) predicate.MaintenanceEntry
- func NameEqualFold(v string) predicate.MaintenanceEntry
- func NameGT(v string) predicate.MaintenanceEntry
- func NameGTE(v string) predicate.MaintenanceEntry
- func NameHasPrefix(v string) predicate.MaintenanceEntry
- func NameHasSuffix(v string) predicate.MaintenanceEntry
- func NameIn(vs ...string) predicate.MaintenanceEntry
- func NameLT(v string) predicate.MaintenanceEntry
- func NameLTE(v string) predicate.MaintenanceEntry
- func NameNEQ(v string) predicate.MaintenanceEntry
- func NameNotIn(vs ...string) predicate.MaintenanceEntry
- func Not(p predicate.MaintenanceEntry) predicate.MaintenanceEntry
- func Or(predicates ...predicate.MaintenanceEntry) predicate.MaintenanceEntry
- func ScheduledDate(v time.Time) predicate.MaintenanceEntry
- func ScheduledDateEQ(v time.Time) predicate.MaintenanceEntry
- func ScheduledDateGT(v time.Time) predicate.MaintenanceEntry
- func ScheduledDateGTE(v time.Time) predicate.MaintenanceEntry
- func ScheduledDateIn(vs ...time.Time) predicate.MaintenanceEntry
- func ScheduledDateIsNil() predicate.MaintenanceEntry
- func ScheduledDateLT(v time.Time) predicate.MaintenanceEntry
- func ScheduledDateLTE(v time.Time) predicate.MaintenanceEntry
- func ScheduledDateNEQ(v time.Time) predicate.MaintenanceEntry
- func ScheduledDateNotIn(vs ...time.Time) predicate.MaintenanceEntry
- func ScheduledDateNotNil() predicate.MaintenanceEntry
- func UpdatedAt(v time.Time) predicate.MaintenanceEntry
- func UpdatedAtEQ(v time.Time) predicate.MaintenanceEntry
- func UpdatedAtGT(v time.Time) predicate.MaintenanceEntry
- func UpdatedAtGTE(v time.Time) predicate.MaintenanceEntry
- func UpdatedAtIn(vs ...time.Time) predicate.MaintenanceEntry
- func UpdatedAtLT(v time.Time) predicate.MaintenanceEntry
- func UpdatedAtLTE(v time.Time) predicate.MaintenanceEntry
- func UpdatedAtNEQ(v time.Time) predicate.MaintenanceEntry
- func UpdatedAtNotIn(vs ...time.Time) predicate.MaintenanceEntry
- func ValidColumn(column string) bool
- type OrderOption
- func ByCost(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDate(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByItemField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByItemID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByScheduledDate(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the maintenanceentry type in the database. Label = "maintenance_entry" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldItemID holds the string denoting the item_id field in the database. FieldItemID = "item_id" // FieldDate holds the string denoting the date field in the database. FieldDate = "date" // FieldScheduledDate holds the string denoting the scheduled_date field in the database. FieldScheduledDate = "scheduled_date" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldCost holds the string denoting the cost field in the database. FieldCost = "cost" // EdgeItem holds the string denoting the item edge name in mutations. EdgeItem = "item" // Table holds the table name of the maintenanceentry in the database. Table = "maintenance_entries" // ItemTable is the table that holds the item relation/edge. ItemTable = "maintenance_entries" // ItemInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. ItemInverseTable = "items" // ItemColumn is the table column denoting the item relation/edge. ItemColumn = "item_id" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // DefaultCost holds the default value on creation for the "cost" field. DefaultCost float64 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldItemID, FieldDate, FieldScheduledDate, FieldName, FieldDescription, FieldCost, }
Columns holds all SQL columns for maintenanceentry fields.
Functions ¶
func And ¶
func And(predicates ...predicate.MaintenanceEntry) predicate.MaintenanceEntry
And groups predicates with the AND operator between them.
func Cost ¶
func Cost(v float64) predicate.MaintenanceEntry
Cost applies equality check predicate on the "cost" field. It's identical to CostEQ.
func CostEQ ¶
func CostEQ(v float64) predicate.MaintenanceEntry
CostEQ applies the EQ predicate on the "cost" field.
func CostGT ¶
func CostGT(v float64) predicate.MaintenanceEntry
CostGT applies the GT predicate on the "cost" field.
func CostGTE ¶
func CostGTE(v float64) predicate.MaintenanceEntry
CostGTE applies the GTE predicate on the "cost" field.
func CostIn ¶
func CostIn(vs ...float64) predicate.MaintenanceEntry
CostIn applies the In predicate on the "cost" field.
func CostLT ¶
func CostLT(v float64) predicate.MaintenanceEntry
CostLT applies the LT predicate on the "cost" field.
func CostLTE ¶
func CostLTE(v float64) predicate.MaintenanceEntry
CostLTE applies the LTE predicate on the "cost" field.
func CostNEQ ¶
func CostNEQ(v float64) predicate.MaintenanceEntry
CostNEQ applies the NEQ predicate on the "cost" field.
func CostNotIn ¶
func CostNotIn(vs ...float64) predicate.MaintenanceEntry
CostNotIn applies the NotIn predicate on the "cost" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.MaintenanceEntry
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.MaintenanceEntry
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.MaintenanceEntry
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.MaintenanceEntry
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.MaintenanceEntry
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.MaintenanceEntry
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.MaintenanceEntry
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.MaintenanceEntry
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.MaintenanceEntry
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Date ¶
func Date(v time.Time) predicate.MaintenanceEntry
Date applies equality check predicate on the "date" field. It's identical to DateEQ.
func DateEQ ¶
func DateEQ(v time.Time) predicate.MaintenanceEntry
DateEQ applies the EQ predicate on the "date" field.
func DateGT ¶
func DateGT(v time.Time) predicate.MaintenanceEntry
DateGT applies the GT predicate on the "date" field.
func DateGTE ¶
func DateGTE(v time.Time) predicate.MaintenanceEntry
DateGTE applies the GTE predicate on the "date" field.
func DateIn ¶
func DateIn(vs ...time.Time) predicate.MaintenanceEntry
DateIn applies the In predicate on the "date" field.
func DateIsNil ¶
func DateIsNil() predicate.MaintenanceEntry
DateIsNil applies the IsNil predicate on the "date" field.
func DateLT ¶
func DateLT(v time.Time) predicate.MaintenanceEntry
DateLT applies the LT predicate on the "date" field.
func DateLTE ¶
func DateLTE(v time.Time) predicate.MaintenanceEntry
DateLTE applies the LTE predicate on the "date" field.
func DateNEQ ¶
func DateNEQ(v time.Time) predicate.MaintenanceEntry
DateNEQ applies the NEQ predicate on the "date" field.
func DateNotIn ¶
func DateNotIn(vs ...time.Time) predicate.MaintenanceEntry
DateNotIn applies the NotIn predicate on the "date" field.
func DateNotNil ¶
func DateNotNil() predicate.MaintenanceEntry
DateNotNil applies the NotNil predicate on the "date" field.
func Description ¶
func Description(v string) predicate.MaintenanceEntry
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.MaintenanceEntry
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.MaintenanceEntry
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.MaintenanceEntry
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.MaintenanceEntry
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.MaintenanceEntry
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.MaintenanceEntry
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.MaintenanceEntry
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.MaintenanceEntry
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.MaintenanceEntry
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.MaintenanceEntry
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.MaintenanceEntry
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.MaintenanceEntry
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.MaintenanceEntry
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.MaintenanceEntry
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.MaintenanceEntry
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasItem ¶
func HasItem() predicate.MaintenanceEntry
HasItem applies the HasEdge predicate on the "item" edge.
func HasItemWith ¶
func HasItemWith(preds ...predicate.Item) predicate.MaintenanceEntry
HasItemWith applies the HasEdge predicate on the "item" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.MaintenanceEntry
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.MaintenanceEntry
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.MaintenanceEntry
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.MaintenanceEntry
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.MaintenanceEntry
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.MaintenanceEntry
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.MaintenanceEntry
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.MaintenanceEntry
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.MaintenanceEntry
IDNotIn applies the NotIn predicate on the ID field.
func ItemID ¶
func ItemID(v uuid.UUID) predicate.MaintenanceEntry
ItemID applies equality check predicate on the "item_id" field. It's identical to ItemIDEQ.
func ItemIDEQ ¶
func ItemIDEQ(v uuid.UUID) predicate.MaintenanceEntry
ItemIDEQ applies the EQ predicate on the "item_id" field.
func ItemIDIn ¶
func ItemIDIn(vs ...uuid.UUID) predicate.MaintenanceEntry
ItemIDIn applies the In predicate on the "item_id" field.
func ItemIDNEQ ¶
func ItemIDNEQ(v uuid.UUID) predicate.MaintenanceEntry
ItemIDNEQ applies the NEQ predicate on the "item_id" field.
func ItemIDNotIn ¶
func ItemIDNotIn(vs ...uuid.UUID) predicate.MaintenanceEntry
ItemIDNotIn applies the NotIn predicate on the "item_id" field.
func Name ¶
func Name(v string) predicate.MaintenanceEntry
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.MaintenanceEntry
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.MaintenanceEntry
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.MaintenanceEntry
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.MaintenanceEntry
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.MaintenanceEntry
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.MaintenanceEntry
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.MaintenanceEntry
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.MaintenanceEntry
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.MaintenanceEntry
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.MaintenanceEntry
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.MaintenanceEntry
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.MaintenanceEntry
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.MaintenanceEntry
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.MaintenanceEntry) predicate.MaintenanceEntry
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MaintenanceEntry) predicate.MaintenanceEntry
Or groups predicates with the OR operator between them.
func ScheduledDate ¶
func ScheduledDate(v time.Time) predicate.MaintenanceEntry
ScheduledDate applies equality check predicate on the "scheduled_date" field. It's identical to ScheduledDateEQ.
func ScheduledDateEQ ¶
func ScheduledDateEQ(v time.Time) predicate.MaintenanceEntry
ScheduledDateEQ applies the EQ predicate on the "scheduled_date" field.
func ScheduledDateGT ¶
func ScheduledDateGT(v time.Time) predicate.MaintenanceEntry
ScheduledDateGT applies the GT predicate on the "scheduled_date" field.
func ScheduledDateGTE ¶
func ScheduledDateGTE(v time.Time) predicate.MaintenanceEntry
ScheduledDateGTE applies the GTE predicate on the "scheduled_date" field.
func ScheduledDateIn ¶
func ScheduledDateIn(vs ...time.Time) predicate.MaintenanceEntry
ScheduledDateIn applies the In predicate on the "scheduled_date" field.
func ScheduledDateIsNil ¶
func ScheduledDateIsNil() predicate.MaintenanceEntry
ScheduledDateIsNil applies the IsNil predicate on the "scheduled_date" field.
func ScheduledDateLT ¶
func ScheduledDateLT(v time.Time) predicate.MaintenanceEntry
ScheduledDateLT applies the LT predicate on the "scheduled_date" field.
func ScheduledDateLTE ¶
func ScheduledDateLTE(v time.Time) predicate.MaintenanceEntry
ScheduledDateLTE applies the LTE predicate on the "scheduled_date" field.
func ScheduledDateNEQ ¶
func ScheduledDateNEQ(v time.Time) predicate.MaintenanceEntry
ScheduledDateNEQ applies the NEQ predicate on the "scheduled_date" field.
func ScheduledDateNotIn ¶
func ScheduledDateNotIn(vs ...time.Time) predicate.MaintenanceEntry
ScheduledDateNotIn applies the NotIn predicate on the "scheduled_date" field.
func ScheduledDateNotNil ¶
func ScheduledDateNotNil() predicate.MaintenanceEntry
ScheduledDateNotNil applies the NotNil predicate on the "scheduled_date" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.MaintenanceEntry
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.MaintenanceEntry
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.MaintenanceEntry
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.MaintenanceEntry
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.MaintenanceEntry
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.MaintenanceEntry
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.MaintenanceEntry
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.MaintenanceEntry
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.MaintenanceEntry
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 MaintenanceEntry queries.
func ByCost ¶
func ByCost(opts ...sql.OrderTermOption) OrderOption
ByCost orders the results by the cost field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDate ¶
func ByDate(opts ...sql.OrderTermOption) OrderOption
ByDate orders the results by the date field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByItemField ¶
func ByItemField(field string, opts ...sql.OrderTermOption) OrderOption
ByItemField orders the results by item field.
func ByItemID ¶
func ByItemID(opts ...sql.OrderTermOption) OrderOption
ByItemID orders the results by the item_id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByScheduledDate ¶
func ByScheduledDate(opts ...sql.OrderTermOption) OrderOption
ByScheduledDate orders the results by the scheduled_date field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.