Documentation
¶
Index ¶
- Constants
- Variables
- func Active(v bool) predicate.Airline
- func ActiveEQ(v bool) predicate.Airline
- func ActiveNEQ(v bool) predicate.Airline
- func Alias(v string) predicate.Airline
- func AliasContains(v string) predicate.Airline
- func AliasContainsFold(v string) predicate.Airline
- func AliasEQ(v string) predicate.Airline
- func AliasEqualFold(v string) predicate.Airline
- func AliasGT(v string) predicate.Airline
- func AliasGTE(v string) predicate.Airline
- func AliasHasPrefix(v string) predicate.Airline
- func AliasHasSuffix(v string) predicate.Airline
- func AliasIn(vs ...string) predicate.Airline
- func AliasLT(v string) predicate.Airline
- func AliasLTE(v string) predicate.Airline
- func AliasNEQ(v string) predicate.Airline
- func AliasNotIn(vs ...string) predicate.Airline
- func And(predicates ...predicate.Airline) predicate.Airline
- func Country(v string) predicate.Airline
- func CountryContains(v string) predicate.Airline
- func CountryContainsFold(v string) predicate.Airline
- func CountryEQ(v string) predicate.Airline
- func CountryEqualFold(v string) predicate.Airline
- func CountryGT(v string) predicate.Airline
- func CountryGTE(v string) predicate.Airline
- func CountryHasPrefix(v string) predicate.Airline
- func CountryHasSuffix(v string) predicate.Airline
- func CountryIn(vs ...string) predicate.Airline
- func CountryLT(v string) predicate.Airline
- func CountryLTE(v string) predicate.Airline
- func CountryNEQ(v string) predicate.Airline
- func CountryNotIn(vs ...string) predicate.Airline
- func ID(id int) predicate.Airline
- func IDEQ(id int) predicate.Airline
- func IDGT(id int) predicate.Airline
- func IDGTE(id int) predicate.Airline
- func IDIn(ids ...int) predicate.Airline
- func IDLT(id int) predicate.Airline
- func IDLTE(id int) predicate.Airline
- func IDNEQ(id int) predicate.Airline
- func IDNotIn(ids ...int) predicate.Airline
- func Name(v string) predicate.Airline
- func NameContains(v string) predicate.Airline
- func NameContainsFold(v string) predicate.Airline
- func NameEQ(v string) predicate.Airline
- func NameEqualFold(v string) predicate.Airline
- func NameGT(v string) predicate.Airline
- func NameGTE(v string) predicate.Airline
- func NameHasPrefix(v string) predicate.Airline
- func NameHasSuffix(v string) predicate.Airline
- func NameIn(vs ...string) predicate.Airline
- func NameLT(v string) predicate.Airline
- func NameLTE(v string) predicate.Airline
- func NameNEQ(v string) predicate.Airline
- func NameNotIn(vs ...string) predicate.Airline
- func Not(p predicate.Airline) predicate.Airline
- func Or(predicates ...predicate.Airline) predicate.Airline
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the airline type in the database. Label = "airline" // 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" // FieldAlias holds the string denoting the alias field in the database. FieldAlias = "alias" // FieldCountry holds the string denoting the country field in the database. FieldCountry = "country" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // Table holds the table name of the airline in the database. Table = "airlines" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldAlias, FieldCountry, FieldActive, }
Columns holds all SQL columns for airline fields.
Functions ¶
func Active ¶
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
func Alias ¶
Alias applies equality check predicate on the "alias" field. It's identical to AliasEQ.
func AliasContains ¶
AliasContains applies the Contains predicate on the "alias" field.
func AliasContainsFold ¶
AliasContainsFold applies the ContainsFold predicate on the "alias" field.
func AliasEqualFold ¶
AliasEqualFold applies the EqualFold predicate on the "alias" field.
func AliasHasPrefix ¶
AliasHasPrefix applies the HasPrefix predicate on the "alias" field.
func AliasHasSuffix ¶
AliasHasSuffix applies the HasSuffix predicate on the "alias" field.
func AliasNotIn ¶
AliasNotIn applies the NotIn predicate on the "alias" field.
func Country ¶
Country applies equality check predicate on the "country" field. It's identical to CountryEQ.
func CountryContains ¶
CountryContains applies the Contains predicate on the "country" field.
func CountryContainsFold ¶
CountryContainsFold applies the ContainsFold predicate on the "country" field.
func CountryEqualFold ¶
CountryEqualFold applies the EqualFold predicate on the "country" field.
func CountryGTE ¶
CountryGTE applies the GTE predicate on the "country" field.
func CountryHasPrefix ¶
CountryHasPrefix applies the HasPrefix predicate on the "country" field.
func CountryHasSuffix ¶
CountryHasSuffix applies the HasSuffix predicate on the "country" field.
func CountryLTE ¶
CountryLTE applies the LTE predicate on the "country" field.
func CountryNEQ ¶
CountryNEQ applies the NEQ predicate on the "country" field.
func CountryNotIn ¶
CountryNotIn applies the NotIn predicate on the "country" 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.