Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Plane) predicate.Plane
- func ID(id int) predicate.Plane
- func IDEQ(id int) predicate.Plane
- func IDGT(id int) predicate.Plane
- func IDGTE(id int) predicate.Plane
- func IDIn(ids ...int) predicate.Plane
- func IDLT(id int) predicate.Plane
- func IDLTE(id int) predicate.Plane
- func IDNEQ(id int) predicate.Plane
- func IDNotIn(ids ...int) predicate.Plane
- func Name(v string) predicate.Plane
- func NameContains(v string) predicate.Plane
- func NameContainsFold(v string) predicate.Plane
- func NameEQ(v string) predicate.Plane
- func NameEqualFold(v string) predicate.Plane
- func NameGT(v string) predicate.Plane
- func NameGTE(v string) predicate.Plane
- func NameHasPrefix(v string) predicate.Plane
- func NameHasSuffix(v string) predicate.Plane
- func NameIn(vs ...string) predicate.Plane
- func NameLT(v string) predicate.Plane
- func NameLTE(v string) predicate.Plane
- func NameNEQ(v string) predicate.Plane
- func NameNotIn(vs ...string) predicate.Plane
- func Not(p predicate.Plane) predicate.Plane
- func Or(predicates ...predicate.Plane) predicate.Plane
- func TailNumber(v string) predicate.Plane
- func TailNumberContains(v string) predicate.Plane
- func TailNumberContainsFold(v string) predicate.Plane
- func TailNumberEQ(v string) predicate.Plane
- func TailNumberEqualFold(v string) predicate.Plane
- func TailNumberGT(v string) predicate.Plane
- func TailNumberGTE(v string) predicate.Plane
- func TailNumberHasPrefix(v string) predicate.Plane
- func TailNumberHasSuffix(v string) predicate.Plane
- func TailNumberIn(vs ...string) predicate.Plane
- func TailNumberLT(v string) predicate.Plane
- func TailNumberLTE(v string) predicate.Plane
- func TailNumberNEQ(v string) predicate.Plane
- func TailNumberNotIn(vs ...string) predicate.Plane
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the plane type in the database. Label = "plane" // 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" // FieldTailNumber holds the string denoting the tailnumber field in the database. FieldTailNumber = "tail_number" // Table holds the table name of the plane in the database. Table = "planes" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldTailNumber, }
Columns holds all SQL columns for plane fields.
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 TailNumber ¶
TailNumber applies equality check predicate on the "tailNumber" field. It's identical to TailNumberEQ.
func TailNumberContains ¶
TailNumberContains applies the Contains predicate on the "tailNumber" field.
func TailNumberContainsFold ¶
TailNumberContainsFold applies the ContainsFold predicate on the "tailNumber" field.
func TailNumberEQ ¶
TailNumberEQ applies the EQ predicate on the "tailNumber" field.
func TailNumberEqualFold ¶
TailNumberEqualFold applies the EqualFold predicate on the "tailNumber" field.
func TailNumberGT ¶
TailNumberGT applies the GT predicate on the "tailNumber" field.
func TailNumberGTE ¶
TailNumberGTE applies the GTE predicate on the "tailNumber" field.
func TailNumberHasPrefix ¶
TailNumberHasPrefix applies the HasPrefix predicate on the "tailNumber" field.
func TailNumberHasSuffix ¶
TailNumberHasSuffix applies the HasSuffix predicate on the "tailNumber" field.
func TailNumberIn ¶
TailNumberIn applies the In predicate on the "tailNumber" field.
func TailNumberLT ¶
TailNumberLT applies the LT predicate on the "tailNumber" field.
func TailNumberLTE ¶
TailNumberLTE applies the LTE predicate on the "tailNumber" field.
func TailNumberNEQ ¶
TailNumberNEQ applies the NEQ predicate on the "tailNumber" field.
func TailNumberNotIn ¶
TailNumberNotIn applies the NotIn predicate on the "tailNumber" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.