Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.IncidentBasicRule) predicate.IncidentBasicRule
- func CreatedAt(v time.Time) predicate.IncidentBasicRule
- func CreatedAtEQ(v time.Time) predicate.IncidentBasicRule
- func CreatedAtGT(v time.Time) predicate.IncidentBasicRule
- func CreatedAtGTE(v time.Time) predicate.IncidentBasicRule
- func CreatedAtIn(vs ...time.Time) predicate.IncidentBasicRule
- func CreatedAtLT(v time.Time) predicate.IncidentBasicRule
- func CreatedAtLTE(v time.Time) predicate.IncidentBasicRule
- func CreatedAtNEQ(v time.Time) predicate.IncidentBasicRule
- func CreatedAtNotIn(vs ...time.Time) predicate.IncidentBasicRule
- func DeletedAt(v time.Time) predicate.IncidentBasicRule
- func DeletedAtEQ(v time.Time) predicate.IncidentBasicRule
- func DeletedAtGT(v time.Time) predicate.IncidentBasicRule
- func DeletedAtGTE(v time.Time) predicate.IncidentBasicRule
- func DeletedAtIn(vs ...time.Time) predicate.IncidentBasicRule
- func DeletedAtLT(v time.Time) predicate.IncidentBasicRule
- func DeletedAtLTE(v time.Time) predicate.IncidentBasicRule
- func DeletedAtNEQ(v time.Time) predicate.IncidentBasicRule
- func DeletedAtNotIn(vs ...time.Time) predicate.IncidentBasicRule
- func Description(v string) predicate.IncidentBasicRule
- func DescriptionContains(v string) predicate.IncidentBasicRule
- func DescriptionContainsFold(v string) predicate.IncidentBasicRule
- func DescriptionEQ(v string) predicate.IncidentBasicRule
- func DescriptionEqualFold(v string) predicate.IncidentBasicRule
- func DescriptionGT(v string) predicate.IncidentBasicRule
- func DescriptionGTE(v string) predicate.IncidentBasicRule
- func DescriptionHasPrefix(v string) predicate.IncidentBasicRule
- func DescriptionHasSuffix(v string) predicate.IncidentBasicRule
- func DescriptionIn(vs ...string) predicate.IncidentBasicRule
- func DescriptionLT(v string) predicate.IncidentBasicRule
- func DescriptionLTE(v string) predicate.IncidentBasicRule
- func DescriptionNEQ(v string) predicate.IncidentBasicRule
- func DescriptionNotIn(vs ...string) predicate.IncidentBasicRule
- func ID(id uint) predicate.IncidentBasicRule
- func IDEQ(id uint) predicate.IncidentBasicRule
- func IDGT(id uint) predicate.IncidentBasicRule
- func IDGTE(id uint) predicate.IncidentBasicRule
- func IDIn(ids ...uint) predicate.IncidentBasicRule
- func IDLT(id uint) predicate.IncidentBasicRule
- func IDLTE(id uint) predicate.IncidentBasicRule
- func IDNEQ(id uint) predicate.IncidentBasicRule
- func IDNotIn(ids ...uint) predicate.IncidentBasicRule
- func Name(v string) predicate.IncidentBasicRule
- func NameContains(v string) predicate.IncidentBasicRule
- func NameContainsFold(v string) predicate.IncidentBasicRule
- func NameEQ(v string) predicate.IncidentBasicRule
- func NameEqualFold(v string) predicate.IncidentBasicRule
- func NameGT(v string) predicate.IncidentBasicRule
- func NameGTE(v string) predicate.IncidentBasicRule
- func NameHasPrefix(v string) predicate.IncidentBasicRule
- func NameHasSuffix(v string) predicate.IncidentBasicRule
- func NameIn(vs ...string) predicate.IncidentBasicRule
- func NameLT(v string) predicate.IncidentBasicRule
- func NameLTE(v string) predicate.IncidentBasicRule
- func NameNEQ(v string) predicate.IncidentBasicRule
- func NameNotIn(vs ...string) predicate.IncidentBasicRule
- func Not(p predicate.IncidentBasicRule) predicate.IncidentBasicRule
- func Or(predicates ...predicate.IncidentBasicRule) predicate.IncidentBasicRule
- func Query(v string) predicate.IncidentBasicRule
- func QueryContains(v string) predicate.IncidentBasicRule
- func QueryContainsFold(v string) predicate.IncidentBasicRule
- func QueryEQ(v string) predicate.IncidentBasicRule
- func QueryEqualFold(v string) predicate.IncidentBasicRule
- func QueryGT(v string) predicate.IncidentBasicRule
- func QueryGTE(v string) predicate.IncidentBasicRule
- func QueryHasPrefix(v string) predicate.IncidentBasicRule
- func QueryHasSuffix(v string) predicate.IncidentBasicRule
- func QueryIn(vs ...string) predicate.IncidentBasicRule
- func QueryLT(v string) predicate.IncidentBasicRule
- func QueryLTE(v string) predicate.IncidentBasicRule
- func QueryNEQ(v string) predicate.IncidentBasicRule
- func QueryNotIn(vs ...string) predicate.IncidentBasicRule
- func UpdatedAt(v time.Time) predicate.IncidentBasicRule
- func UpdatedAtEQ(v time.Time) predicate.IncidentBasicRule
- func UpdatedAtGT(v time.Time) predicate.IncidentBasicRule
- func UpdatedAtGTE(v time.Time) predicate.IncidentBasicRule
- func UpdatedAtIn(vs ...time.Time) predicate.IncidentBasicRule
- func UpdatedAtLT(v time.Time) predicate.IncidentBasicRule
- func UpdatedAtLTE(v time.Time) predicate.IncidentBasicRule
- func UpdatedAtNEQ(v time.Time) predicate.IncidentBasicRule
- func UpdatedAtNotIn(vs ...time.Time) predicate.IncidentBasicRule
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the incidentbasicrule type in the database. Label = "incident_basic_rule" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // 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" // FieldQuery holds the string denoting the query field in the database. FieldQuery = "query" // Table holds the table name of the incidentbasicrule in the database. Table = "incidentBasicRules" )
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 // DefaultDeletedAt holds the default value on creation for the "deleted_at" field. DefaultDeletedAt func() time.Time // UpdateDefaultDeletedAt holds the default value on update for the "deleted_at" field. UpdateDefaultDeletedAt func() time.Time )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldName, FieldDescription, FieldQuery, }
Columns holds all SQL columns for incidentbasicrule fields.
Functions ¶
func And ¶
func And(predicates ...predicate.IncidentBasicRule) predicate.IncidentBasicRule
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.IncidentBasicRule
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.IncidentBasicRule
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.IncidentBasicRule
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.IncidentBasicRule
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.IncidentBasicRule
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.IncidentBasicRule
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.IncidentBasicRule
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.IncidentBasicRule
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.IncidentBasicRule
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.IncidentBasicRule
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.IncidentBasicRule
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.IncidentBasicRule
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.IncidentBasicRule
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.IncidentBasicRule
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.IncidentBasicRule
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.IncidentBasicRule
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.IncidentBasicRule
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.IncidentBasicRule
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func Description ¶
func Description(v string) predicate.IncidentBasicRule
Description applies equality check predicate on the "Description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.IncidentBasicRule
DescriptionContains applies the Contains predicate on the "Description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.IncidentBasicRule
DescriptionContainsFold applies the ContainsFold predicate on the "Description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.IncidentBasicRule
DescriptionEQ applies the EQ predicate on the "Description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.IncidentBasicRule
DescriptionEqualFold applies the EqualFold predicate on the "Description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.IncidentBasicRule
DescriptionGT applies the GT predicate on the "Description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.IncidentBasicRule
DescriptionGTE applies the GTE predicate on the "Description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.IncidentBasicRule
DescriptionHasPrefix applies the HasPrefix predicate on the "Description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.IncidentBasicRule
DescriptionHasSuffix applies the HasSuffix predicate on the "Description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.IncidentBasicRule
DescriptionIn applies the In predicate on the "Description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.IncidentBasicRule
DescriptionLT applies the LT predicate on the "Description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.IncidentBasicRule
DescriptionLTE applies the LTE predicate on the "Description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.IncidentBasicRule
DescriptionNEQ applies the NEQ predicate on the "Description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.IncidentBasicRule
DescriptionNotIn applies the NotIn predicate on the "Description" field.
func IDEQ ¶
func IDEQ(id uint) predicate.IncidentBasicRule
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint) predicate.IncidentBasicRule
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint) predicate.IncidentBasicRule
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint) predicate.IncidentBasicRule
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint) predicate.IncidentBasicRule
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint) predicate.IncidentBasicRule
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint) predicate.IncidentBasicRule
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint) predicate.IncidentBasicRule
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.IncidentBasicRule
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.IncidentBasicRule
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.IncidentBasicRule
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.IncidentBasicRule
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.IncidentBasicRule
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.IncidentBasicRule
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.IncidentBasicRule
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.IncidentBasicRule
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.IncidentBasicRule
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.IncidentBasicRule
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.IncidentBasicRule
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.IncidentBasicRule
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.IncidentBasicRule
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.IncidentBasicRule
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.IncidentBasicRule) predicate.IncidentBasicRule
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.IncidentBasicRule) predicate.IncidentBasicRule
Or groups predicates with the OR operator between them.
func Query ¶
func Query(v string) predicate.IncidentBasicRule
Query applies equality check predicate on the "query" field. It's identical to QueryEQ.
func QueryContains ¶
func QueryContains(v string) predicate.IncidentBasicRule
QueryContains applies the Contains predicate on the "query" field.
func QueryContainsFold ¶
func QueryContainsFold(v string) predicate.IncidentBasicRule
QueryContainsFold applies the ContainsFold predicate on the "query" field.
func QueryEQ ¶
func QueryEQ(v string) predicate.IncidentBasicRule
QueryEQ applies the EQ predicate on the "query" field.
func QueryEqualFold ¶
func QueryEqualFold(v string) predicate.IncidentBasicRule
QueryEqualFold applies the EqualFold predicate on the "query" field.
func QueryGT ¶
func QueryGT(v string) predicate.IncidentBasicRule
QueryGT applies the GT predicate on the "query" field.
func QueryGTE ¶
func QueryGTE(v string) predicate.IncidentBasicRule
QueryGTE applies the GTE predicate on the "query" field.
func QueryHasPrefix ¶
func QueryHasPrefix(v string) predicate.IncidentBasicRule
QueryHasPrefix applies the HasPrefix predicate on the "query" field.
func QueryHasSuffix ¶
func QueryHasSuffix(v string) predicate.IncidentBasicRule
QueryHasSuffix applies the HasSuffix predicate on the "query" field.
func QueryIn ¶
func QueryIn(vs ...string) predicate.IncidentBasicRule
QueryIn applies the In predicate on the "query" field.
func QueryLT ¶
func QueryLT(v string) predicate.IncidentBasicRule
QueryLT applies the LT predicate on the "query" field.
func QueryLTE ¶
func QueryLTE(v string) predicate.IncidentBasicRule
QueryLTE applies the LTE predicate on the "query" field.
func QueryNEQ ¶
func QueryNEQ(v string) predicate.IncidentBasicRule
QueryNEQ applies the NEQ predicate on the "query" field.
func QueryNotIn ¶
func QueryNotIn(vs ...string) predicate.IncidentBasicRule
QueryNotIn applies the NotIn predicate on the "query" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.IncidentBasicRule
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.IncidentBasicRule
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.IncidentBasicRule
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.IncidentBasicRule
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.IncidentBasicRule
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.IncidentBasicRule
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.IncidentBasicRule
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.IncidentBasicRule
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.IncidentBasicRule
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 ¶
This section is empty.