Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Services) predicate.Services
- func Data(v string) predicate.Services
- func DataContains(v string) predicate.Services
- func DataContainsFold(v string) predicate.Services
- func DataEQ(v string) predicate.Services
- func DataEqualFold(v string) predicate.Services
- func DataGT(v string) predicate.Services
- func DataGTE(v string) predicate.Services
- func DataHasPrefix(v string) predicate.Services
- func DataHasSuffix(v string) predicate.Services
- func DataIn(vs ...string) predicate.Services
- func DataLT(v string) predicate.Services
- func DataLTE(v string) predicate.Services
- func DataNEQ(v string) predicate.Services
- func DataNotIn(vs ...string) predicate.Services
- func ID(id int) predicate.Services
- func IDEQ(id int) predicate.Services
- func IDGT(id int) predicate.Services
- func IDGTE(id int) predicate.Services
- func IDIn(ids ...int) predicate.Services
- func IDLT(id int) predicate.Services
- func IDLTE(id int) predicate.Services
- func IDNEQ(id int) predicate.Services
- func IDNotIn(ids ...int) predicate.Services
- func Name(v string) predicate.Services
- func NameContains(v string) predicate.Services
- func NameContainsFold(v string) predicate.Services
- func NameEQ(v string) predicate.Services
- func NameEqualFold(v string) predicate.Services
- func NameGT(v string) predicate.Services
- func NameGTE(v string) predicate.Services
- func NameHasPrefix(v string) predicate.Services
- func NameHasSuffix(v string) predicate.Services
- func NameIn(vs ...string) predicate.Services
- func NameLT(v string) predicate.Services
- func NameLTE(v string) predicate.Services
- func NameNEQ(v string) predicate.Services
- func NameNotIn(vs ...string) predicate.Services
- func Not(p predicate.Services) predicate.Services
- func Or(predicates ...predicate.Services) predicate.Services
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the services type in the database. Label = "services" // 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" // FieldData holds the string denoting the data field in the database. FieldData = "data" // Table holds the table name of the services in the database. Table = "services" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldData, }
Columns holds all SQL columns for services fields.
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error )
Functions ¶
func DataContains ¶
DataContains applies the Contains predicate on the "data" field.
func DataContainsFold ¶
DataContainsFold applies the ContainsFold predicate on the "data" field.
func DataEqualFold ¶
DataEqualFold applies the EqualFold predicate on the "data" field.
func DataHasPrefix ¶
DataHasPrefix applies the HasPrefix predicate on the "data" field.
func DataHasSuffix ¶
DataHasSuffix applies the HasSuffix predicate on the "data" field.
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).
Types ¶
This section is empty.