Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Regions) predicate.Regions
- func ID(id int) predicate.Regions
- func IDEQ(id int) predicate.Regions
- func IDGT(id int) predicate.Regions
- func IDGTE(id int) predicate.Regions
- func IDIn(ids ...int) predicate.Regions
- func IDLT(id int) predicate.Regions
- func IDLTE(id int) predicate.Regions
- func IDNEQ(id int) predicate.Regions
- func IDNotIn(ids ...int) predicate.Regions
- func Not(p predicate.Regions) predicate.Regions
- func Or(predicates ...predicate.Regions) predicate.Regions
- func RegionName(v string) predicate.Regions
- func RegionNameContains(v string) predicate.Regions
- func RegionNameContainsFold(v string) predicate.Regions
- func RegionNameEQ(v string) predicate.Regions
- func RegionNameEqualFold(v string) predicate.Regions
- func RegionNameGT(v string) predicate.Regions
- func RegionNameGTE(v string) predicate.Regions
- func RegionNameHasPrefix(v string) predicate.Regions
- func RegionNameHasSuffix(v string) predicate.Regions
- func RegionNameIn(vs ...string) predicate.Regions
- func RegionNameLT(v string) predicate.Regions
- func RegionNameLTE(v string) predicate.Regions
- func RegionNameNEQ(v string) predicate.Regions
- func RegionNameNotIn(vs ...string) predicate.Regions
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the regions type in the database. Label = "regions" // FieldID holds the string denoting the id field in the database. FieldID = "region_id" // FieldRegionName holds the string denoting the region_name field in the database. FieldRegionName = "region_name" // Table holds the table name of the regions in the database. Table = "regions" )
Variables ¶
var Columns = []string{ FieldID, FieldRegionName, }
Columns holds all SQL columns for regions fields.
var ( // RegionNameValidator is a validator for the "region_name" field. It is called by the builders before save. RegionNameValidator func(string) error )
Functions ¶
func RegionName ¶
RegionName applies equality check predicate on the "region_name" field. It's identical to RegionNameEQ.
func RegionNameContains ¶
RegionNameContains applies the Contains predicate on the "region_name" field.
func RegionNameContainsFold ¶
RegionNameContainsFold applies the ContainsFold predicate on the "region_name" field.
func RegionNameEQ ¶
RegionNameEQ applies the EQ predicate on the "region_name" field.
func RegionNameEqualFold ¶
RegionNameEqualFold applies the EqualFold predicate on the "region_name" field.
func RegionNameGT ¶
RegionNameGT applies the GT predicate on the "region_name" field.
func RegionNameGTE ¶
RegionNameGTE applies the GTE predicate on the "region_name" field.
func RegionNameHasPrefix ¶
RegionNameHasPrefix applies the HasPrefix predicate on the "region_name" field.
func RegionNameHasSuffix ¶
RegionNameHasSuffix applies the HasSuffix predicate on the "region_name" field.
func RegionNameIn ¶
RegionNameIn applies the In predicate on the "region_name" field.
func RegionNameLT ¶
RegionNameLT applies the LT predicate on the "region_name" field.
func RegionNameLTE ¶
RegionNameLTE applies the LTE predicate on the "region_name" field.
func RegionNameNEQ ¶
RegionNameNEQ applies the NEQ predicate on the "region_name" field.
func RegionNameNotIn ¶
RegionNameNotIn applies the NotIn predicate on the "region_name" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.