Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Status) predicate.Status
- func ID(id int) predicate.Status
- func IDEQ(id int) predicate.Status
- func IDGT(id int) predicate.Status
- func IDGTE(id int) predicate.Status
- func IDIn(ids ...int) predicate.Status
- func IDLT(id int) predicate.Status
- func IDLTE(id int) predicate.Status
- func IDNEQ(id int) predicate.Status
- func IDNotIn(ids ...int) predicate.Status
- func Name(v string) predicate.Status
- func NameContains(v string) predicate.Status
- func NameContainsFold(v string) predicate.Status
- func NameEQ(v string) predicate.Status
- func NameEqualFold(v string) predicate.Status
- func NameGT(v string) predicate.Status
- func NameGTE(v string) predicate.Status
- func NameHasPrefix(v string) predicate.Status
- func NameHasSuffix(v string) predicate.Status
- func NameIn(vs ...string) predicate.Status
- func NameLT(v string) predicate.Status
- func NameLTE(v string) predicate.Status
- func NameNEQ(v string) predicate.Status
- func NameNotIn(vs ...string) predicate.Status
- func Not(p predicate.Status) predicate.Status
- func Or(predicates ...predicate.Status) predicate.Status
- func ValidColumn(column string) bool
- func Value(v string) predicate.Status
- func ValueContains(v string) predicate.Status
- func ValueContainsFold(v string) predicate.Status
- func ValueEQ(v string) predicate.Status
- func ValueEqualFold(v string) predicate.Status
- func ValueGT(v string) predicate.Status
- func ValueGTE(v string) predicate.Status
- func ValueHasPrefix(v string) predicate.Status
- func ValueHasSuffix(v string) predicate.Status
- func ValueIn(vs ...string) predicate.Status
- func ValueLT(v string) predicate.Status
- func ValueLTE(v string) predicate.Status
- func ValueNEQ(v string) predicate.Status
- func ValueNotIn(vs ...string) predicate.Status
Constants ¶
const ( // Label holds the string label denoting the status type in the database. Label = "status" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // Table holds the table name of the status in the database. Table = "status" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldValue, }
Columns holds all SQL columns for status fields.
var ForeignKeys = []string{
"alert_stati",
"incident_stati",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "status" table and are not defined as standalone fields in the schema.
Functions ¶
func NameContains ¶
NameContains applies the Contains predicate on the "Name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "Name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "Name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "Name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "Name" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Value ¶
Value applies equality check predicate on the "Value" field. It's identical to ValueEQ.
func ValueContains ¶
ValueContains applies the Contains predicate on the "Value" field.
func ValueContainsFold ¶
ValueContainsFold applies the ContainsFold predicate on the "Value" field.
func ValueEqualFold ¶
ValueEqualFold applies the EqualFold predicate on the "Value" field.
func ValueHasPrefix ¶
ValueHasPrefix applies the HasPrefix predicate on the "Value" field.
func ValueHasSuffix ¶
ValueHasSuffix applies the HasSuffix predicate on the "Value" field.
func ValueNotIn ¶
ValueNotIn applies the NotIn predicate on the "Value" field.
Types ¶
This section is empty.