Documentation ¶
Index ¶
- Constants
- Variables
- func Addition(v string) predicate.Address
- func AdditionContains(v string) predicate.Address
- func AdditionContainsFold(v string) predicate.Address
- func AdditionEQ(v string) predicate.Address
- func AdditionEqualFold(v string) predicate.Address
- func AdditionGT(v string) predicate.Address
- func AdditionGTE(v string) predicate.Address
- func AdditionHasPrefix(v string) predicate.Address
- func AdditionHasSuffix(v string) predicate.Address
- func AdditionIn(vs ...string) predicate.Address
- func AdditionIsNil() predicate.Address
- func AdditionLT(v string) predicate.Address
- func AdditionLTE(v string) predicate.Address
- func AdditionNEQ(v string) predicate.Address
- func AdditionNotIn(vs ...string) predicate.Address
- func AdditionNotNil() predicate.Address
- func And(predicates ...predicate.Address) predicate.Address
- func City(v string) predicate.Address
- func CityContains(v string) predicate.Address
- func CityContainsFold(v string) predicate.Address
- func CityEQ(v string) predicate.Address
- func CityEqualFold(v string) predicate.Address
- func CityGT(v string) predicate.Address
- func CityGTE(v string) predicate.Address
- func CityHasPrefix(v string) predicate.Address
- func CityHasSuffix(v string) predicate.Address
- func CityIn(vs ...string) predicate.Address
- func CityIsNil() predicate.Address
- func CityLT(v string) predicate.Address
- func CityLTE(v string) predicate.Address
- func CityNEQ(v string) predicate.Address
- func CityNotIn(vs ...string) predicate.Address
- func CityNotNil() predicate.Address
- func Comment(v string) predicate.Address
- func CommentContains(v string) predicate.Address
- func CommentContainsFold(v string) predicate.Address
- func CommentEQ(v string) predicate.Address
- func CommentEqualFold(v string) predicate.Address
- func CommentGT(v string) predicate.Address
- func CommentGTE(v string) predicate.Address
- func CommentHasPrefix(v string) predicate.Address
- func CommentHasSuffix(v string) predicate.Address
- func CommentIn(vs ...string) predicate.Address
- func CommentIsNil() predicate.Address
- func CommentLT(v string) predicate.Address
- func CommentLTE(v string) predicate.Address
- func CommentNEQ(v string) predicate.Address
- func CommentNotIn(vs ...string) predicate.Address
- func CommentNotNil() predicate.Address
- func Country(v string) predicate.Address
- func CountryContains(v string) predicate.Address
- func CountryContainsFold(v string) predicate.Address
- func CountryEQ(v string) predicate.Address
- func CountryEqualFold(v string) predicate.Address
- func CountryGT(v string) predicate.Address
- func CountryGTE(v string) predicate.Address
- func CountryHasPrefix(v string) predicate.Address
- func CountryHasSuffix(v string) predicate.Address
- func CountryIn(vs ...string) predicate.Address
- func CountryIsNil() predicate.Address
- func CountryLT(v string) predicate.Address
- func CountryLTE(v string) predicate.Address
- func CountryNEQ(v string) predicate.Address
- func CountryNotIn(vs ...string) predicate.Address
- func CountryNotNil() predicate.Address
- func CreatedAt(v time.Time) predicate.Address
- func CreatedAtEQ(v time.Time) predicate.Address
- func CreatedAtGT(v time.Time) predicate.Address
- func CreatedAtGTE(v time.Time) predicate.Address
- func CreatedAtIn(vs ...time.Time) predicate.Address
- func CreatedAtLT(v time.Time) predicate.Address
- func CreatedAtLTE(v time.Time) predicate.Address
- func CreatedAtNEQ(v time.Time) predicate.Address
- func CreatedAtNotIn(vs ...time.Time) predicate.Address
- func DeletedAt(v time.Time) predicate.Address
- func DeletedAtEQ(v time.Time) predicate.Address
- func DeletedAtGT(v time.Time) predicate.Address
- func DeletedAtGTE(v time.Time) predicate.Address
- func DeletedAtIn(vs ...time.Time) predicate.Address
- func DeletedAtIsNil() predicate.Address
- func DeletedAtLT(v time.Time) predicate.Address
- func DeletedAtLTE(v time.Time) predicate.Address
- func DeletedAtNEQ(v time.Time) predicate.Address
- func DeletedAtNotIn(vs ...time.Time) predicate.Address
- func DeletedAtNotNil() predicate.Address
- func HasBusiness() predicate.Address
- func HasBusinessWith(preds ...predicate.Business) predicate.Address
- func HasTimetables() predicate.Address
- func HasTimetablesWith(preds ...predicate.Timetable) predicate.Address
- func ID(id uuid.UUID) predicate.Address
- func IDEQ(id uuid.UUID) predicate.Address
- func IDGT(id uuid.UUID) predicate.Address
- func IDGTE(id uuid.UUID) predicate.Address
- func IDIn(ids ...uuid.UUID) predicate.Address
- func IDLT(id uuid.UUID) predicate.Address
- func IDLTE(id uuid.UUID) predicate.Address
- func IDNEQ(id uuid.UUID) predicate.Address
- func IDNotIn(ids ...uuid.UUID) predicate.Address
- func Locale(v string) predicate.Address
- func LocaleContains(v string) predicate.Address
- func LocaleContainsFold(v string) predicate.Address
- func LocaleEQ(v string) predicate.Address
- func LocaleEqualFold(v string) predicate.Address
- func LocaleGT(v string) predicate.Address
- func LocaleGTE(v string) predicate.Address
- func LocaleHasPrefix(v string) predicate.Address
- func LocaleHasSuffix(v string) predicate.Address
- func LocaleIn(vs ...string) predicate.Address
- func LocaleLT(v string) predicate.Address
- func LocaleLTE(v string) predicate.Address
- func LocaleNEQ(v string) predicate.Address
- func LocaleNotIn(vs ...string) predicate.Address
- func Not(p predicate.Address) predicate.Address
- func Or(predicates ...predicate.Address) predicate.Address
- func Primary(v bool) predicate.Address
- func PrimaryEQ(v bool) predicate.Address
- func PrimaryNEQ(v bool) predicate.Address
- func State(v string) predicate.Address
- func StateContains(v string) predicate.Address
- func StateContainsFold(v string) predicate.Address
- func StateEQ(v string) predicate.Address
- func StateEqualFold(v string) predicate.Address
- func StateGT(v string) predicate.Address
- func StateGTE(v string) predicate.Address
- func StateHasPrefix(v string) predicate.Address
- func StateHasSuffix(v string) predicate.Address
- func StateIn(vs ...string) predicate.Address
- func StateIsNil() predicate.Address
- func StateLT(v string) predicate.Address
- func StateLTE(v string) predicate.Address
- func StateNEQ(v string) predicate.Address
- func StateNotIn(vs ...string) predicate.Address
- func StateNotNil() predicate.Address
- func Street(v string) predicate.Address
- func StreetContains(v string) predicate.Address
- func StreetContainsFold(v string) predicate.Address
- func StreetEQ(v string) predicate.Address
- func StreetEqualFold(v string) predicate.Address
- func StreetGT(v string) predicate.Address
- func StreetGTE(v string) predicate.Address
- func StreetHasPrefix(v string) predicate.Address
- func StreetHasSuffix(v string) predicate.Address
- func StreetIn(vs ...string) predicate.Address
- func StreetIsNil() predicate.Address
- func StreetLT(v string) predicate.Address
- func StreetLTE(v string) predicate.Address
- func StreetNEQ(v string) predicate.Address
- func StreetNotIn(vs ...string) predicate.Address
- func StreetNotNil() predicate.Address
- func Telephone(v string) predicate.Address
- func TelephoneContains(v string) predicate.Address
- func TelephoneContainsFold(v string) predicate.Address
- func TelephoneEQ(v string) predicate.Address
- func TelephoneEqualFold(v string) predicate.Address
- func TelephoneGT(v string) predicate.Address
- func TelephoneGTE(v string) predicate.Address
- func TelephoneHasPrefix(v string) predicate.Address
- func TelephoneHasSuffix(v string) predicate.Address
- func TelephoneIn(vs ...string) predicate.Address
- func TelephoneIsNil() predicate.Address
- func TelephoneLT(v string) predicate.Address
- func TelephoneLTE(v string) predicate.Address
- func TelephoneNEQ(v string) predicate.Address
- func TelephoneNotIn(vs ...string) predicate.Address
- func TelephoneNotNil() predicate.Address
- func UpdatedAt(v time.Time) predicate.Address
- func UpdatedAtEQ(v time.Time) predicate.Address
- func UpdatedAtGT(v time.Time) predicate.Address
- func UpdatedAtGTE(v time.Time) predicate.Address
- func UpdatedAtIn(vs ...time.Time) predicate.Address
- func UpdatedAtLT(v time.Time) predicate.Address
- func UpdatedAtLTE(v time.Time) predicate.Address
- func UpdatedAtNEQ(v time.Time) predicate.Address
- func UpdatedAtNotIn(vs ...time.Time) predicate.Address
- func ValidColumn(column string) bool
- func Zip(v string) predicate.Address
- func ZipContains(v string) predicate.Address
- func ZipContainsFold(v string) predicate.Address
- func ZipEQ(v string) predicate.Address
- func ZipEqualFold(v string) predicate.Address
- func ZipGT(v string) predicate.Address
- func ZipGTE(v string) predicate.Address
- func ZipHasPrefix(v string) predicate.Address
- func ZipHasSuffix(v string) predicate.Address
- func ZipIn(vs ...string) predicate.Address
- func ZipIsNil() predicate.Address
- func ZipLT(v string) predicate.Address
- func ZipLTE(v string) predicate.Address
- func ZipNEQ(v string) predicate.Address
- func ZipNotIn(vs ...string) predicate.Address
- func ZipNotNil() predicate.Address
- type OrderOption
- func ByAddition(opts ...sql.OrderTermOption) OrderOption
- func ByBusinessField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCity(opts ...sql.OrderTermOption) OrderOption
- func ByComment(opts ...sql.OrderTermOption) OrderOption
- func ByCountry(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLocale(opts ...sql.OrderTermOption) OrderOption
- func ByPrimary(opts ...sql.OrderTermOption) OrderOption
- func ByState(opts ...sql.OrderTermOption) OrderOption
- func ByStreet(opts ...sql.OrderTermOption) OrderOption
- func ByTelephone(opts ...sql.OrderTermOption) OrderOption
- func ByTimetables(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTimetablesCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByZip(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the address type in the database. Label = "address" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldAddition holds the string denoting the addition field in the database. FieldAddition = "addition" // FieldStreet holds the string denoting the street field in the database. FieldStreet = "street" // FieldCity holds the string denoting the city field in the database. FieldCity = "city" // FieldZip holds the string denoting the zip field in the database. FieldZip = "zip" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldCountry holds the string denoting the country field in the database. FieldCountry = "country" // FieldLocale holds the string denoting the locale field in the database. FieldLocale = "locale" // FieldPrimary holds the string denoting the primary field in the database. FieldPrimary = "primary" // FieldTelephone holds the string denoting the telephone field in the database. FieldTelephone = "telephone" // FieldComment holds the string denoting the comment field in the database. FieldComment = "comment" // EdgeBusiness holds the string denoting the business edge name in mutations. EdgeBusiness = "business" // EdgeTimetables holds the string denoting the timetables edge name in mutations. EdgeTimetables = "timetables" // Table holds the table name of the address in the database. Table = "addresses" // BusinessTable is the table that holds the business relation/edge. BusinessTable = "addresses" // BusinessInverseTable is the table name for the Business entity. // It exists in this package in order to avoid circular dependency with the "business" package. BusinessInverseTable = "businesses" // BusinessColumn is the table column denoting the business relation/edge. BusinessColumn = "business_addresses" // TimetablesTable is the table that holds the timetables relation/edge. TimetablesTable = "timetables" // TimetablesInverseTable is the table name for the Timetable entity. // It exists in this package in order to avoid circular dependency with the "timetable" package. TimetablesInverseTable = "timetables" // TimetablesColumn is the table column denoting the timetables relation/edge. TimetablesColumn = "address_timetables" )
Variables ¶
var ( Hooks [2]ent.Hook // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultLocale holds the default value on creation for the "locale" field. DefaultLocale string // LocaleValidator is a validator for the "locale" field. It is called by the builders before save. LocaleValidator func(string) error // DefaultPrimary holds the default value on creation for the "primary" field. DefaultPrimary bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/hkonitzer/ohmab/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldAddition, FieldStreet, FieldCity, FieldZip, FieldState, FieldCountry, FieldLocale, FieldPrimary, FieldTelephone, FieldComment, }
Columns holds all SQL columns for address fields.
var ForeignKeys = []string{
"business_addresses",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "addresses" table and are not defined as standalone fields in the schema.
Functions ¶
func Addition ¶
Addition applies equality check predicate on the "addition" field. It's identical to AdditionEQ.
func AdditionContains ¶
AdditionContains applies the Contains predicate on the "addition" field.
func AdditionContainsFold ¶
AdditionContainsFold applies the ContainsFold predicate on the "addition" field.
func AdditionEQ ¶
AdditionEQ applies the EQ predicate on the "addition" field.
func AdditionEqualFold ¶
AdditionEqualFold applies the EqualFold predicate on the "addition" field.
func AdditionGT ¶
AdditionGT applies the GT predicate on the "addition" field.
func AdditionGTE ¶
AdditionGTE applies the GTE predicate on the "addition" field.
func AdditionHasPrefix ¶
AdditionHasPrefix applies the HasPrefix predicate on the "addition" field.
func AdditionHasSuffix ¶
AdditionHasSuffix applies the HasSuffix predicate on the "addition" field.
func AdditionIn ¶
AdditionIn applies the In predicate on the "addition" field.
func AdditionIsNil ¶
AdditionIsNil applies the IsNil predicate on the "addition" field.
func AdditionLT ¶
AdditionLT applies the LT predicate on the "addition" field.
func AdditionLTE ¶
AdditionLTE applies the LTE predicate on the "addition" field.
func AdditionNEQ ¶
AdditionNEQ applies the NEQ predicate on the "addition" field.
func AdditionNotIn ¶
AdditionNotIn applies the NotIn predicate on the "addition" field.
func AdditionNotNil ¶
AdditionNotNil applies the NotNil predicate on the "addition" field.
func CityContains ¶
CityContains applies the Contains predicate on the "city" field.
func CityContainsFold ¶
CityContainsFold applies the ContainsFold predicate on the "city" field.
func CityEqualFold ¶
CityEqualFold applies the EqualFold predicate on the "city" field.
func CityHasPrefix ¶
CityHasPrefix applies the HasPrefix predicate on the "city" field.
func CityHasSuffix ¶
CityHasSuffix applies the HasSuffix predicate on the "city" field.
func CityNotNil ¶
CityNotNil applies the NotNil predicate on the "city" field.
func Comment ¶
Comment applies equality check predicate on the "comment" field. It's identical to CommentEQ.
func CommentContains ¶
CommentContains applies the Contains predicate on the "comment" field.
func CommentContainsFold ¶
CommentContainsFold applies the ContainsFold predicate on the "comment" field.
func CommentEqualFold ¶
CommentEqualFold applies the EqualFold predicate on the "comment" field.
func CommentGTE ¶
CommentGTE applies the GTE predicate on the "comment" field.
func CommentHasPrefix ¶
CommentHasPrefix applies the HasPrefix predicate on the "comment" field.
func CommentHasSuffix ¶
CommentHasSuffix applies the HasSuffix predicate on the "comment" field.
func CommentIsNil ¶
CommentIsNil applies the IsNil predicate on the "comment" field.
func CommentLTE ¶
CommentLTE applies the LTE predicate on the "comment" field.
func CommentNEQ ¶
CommentNEQ applies the NEQ predicate on the "comment" field.
func CommentNotIn ¶
CommentNotIn applies the NotIn predicate on the "comment" field.
func CommentNotNil ¶
CommentNotNil applies the NotNil predicate on the "comment" 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 CountryIsNil ¶
CountryIsNil applies the IsNil 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 CountryNotNil ¶
CountryNotNil applies the NotNil predicate on the "country" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func HasBusiness ¶
HasBusiness applies the HasEdge predicate on the "business" edge.
func HasBusinessWith ¶
HasBusinessWith applies the HasEdge predicate on the "business" edge with a given conditions (other predicates).
func HasTimetables ¶
HasTimetables applies the HasEdge predicate on the "timetables" edge.
func HasTimetablesWith ¶
HasTimetablesWith applies the HasEdge predicate on the "timetables" edge with a given conditions (other predicates).
func Locale ¶
Locale applies equality check predicate on the "locale" field. It's identical to LocaleEQ.
func LocaleContains ¶
LocaleContains applies the Contains predicate on the "locale" field.
func LocaleContainsFold ¶
LocaleContainsFold applies the ContainsFold predicate on the "locale" field.
func LocaleEqualFold ¶
LocaleEqualFold applies the EqualFold predicate on the "locale" field.
func LocaleHasPrefix ¶
LocaleHasPrefix applies the HasPrefix predicate on the "locale" field.
func LocaleHasSuffix ¶
LocaleHasSuffix applies the HasSuffix predicate on the "locale" field.
func LocaleNotIn ¶
LocaleNotIn applies the NotIn predicate on the "locale" field.
func Primary ¶
Primary applies equality check predicate on the "primary" field. It's identical to PrimaryEQ.
func PrimaryNEQ ¶
PrimaryNEQ applies the NEQ predicate on the "primary" field.
func State ¶
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateContains ¶
StateContains applies the Contains predicate on the "state" field.
func StateContainsFold ¶
StateContainsFold applies the ContainsFold predicate on the "state" field.
func StateEqualFold ¶
StateEqualFold applies the EqualFold predicate on the "state" field.
func StateHasPrefix ¶
StateHasPrefix applies the HasPrefix predicate on the "state" field.
func StateHasSuffix ¶
StateHasSuffix applies the HasSuffix predicate on the "state" field.
func StateIsNil ¶
StateIsNil applies the IsNil predicate on the "state" field.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "state" field.
func StateNotNil ¶
StateNotNil applies the NotNil predicate on the "state" field.
func Street ¶
Street applies equality check predicate on the "street" field. It's identical to StreetEQ.
func StreetContains ¶
StreetContains applies the Contains predicate on the "street" field.
func StreetContainsFold ¶
StreetContainsFold applies the ContainsFold predicate on the "street" field.
func StreetEqualFold ¶
StreetEqualFold applies the EqualFold predicate on the "street" field.
func StreetHasPrefix ¶
StreetHasPrefix applies the HasPrefix predicate on the "street" field.
func StreetHasSuffix ¶
StreetHasSuffix applies the HasSuffix predicate on the "street" field.
func StreetIsNil ¶
StreetIsNil applies the IsNil predicate on the "street" field.
func StreetNotIn ¶
StreetNotIn applies the NotIn predicate on the "street" field.
func StreetNotNil ¶
StreetNotNil applies the NotNil predicate on the "street" field.
func Telephone ¶
Telephone applies equality check predicate on the "telephone" field. It's identical to TelephoneEQ.
func TelephoneContains ¶
TelephoneContains applies the Contains predicate on the "telephone" field.
func TelephoneContainsFold ¶
TelephoneContainsFold applies the ContainsFold predicate on the "telephone" field.
func TelephoneEQ ¶
TelephoneEQ applies the EQ predicate on the "telephone" field.
func TelephoneEqualFold ¶
TelephoneEqualFold applies the EqualFold predicate on the "telephone" field.
func TelephoneGT ¶
TelephoneGT applies the GT predicate on the "telephone" field.
func TelephoneGTE ¶
TelephoneGTE applies the GTE predicate on the "telephone" field.
func TelephoneHasPrefix ¶
TelephoneHasPrefix applies the HasPrefix predicate on the "telephone" field.
func TelephoneHasSuffix ¶
TelephoneHasSuffix applies the HasSuffix predicate on the "telephone" field.
func TelephoneIn ¶
TelephoneIn applies the In predicate on the "telephone" field.
func TelephoneIsNil ¶
TelephoneIsNil applies the IsNil predicate on the "telephone" field.
func TelephoneLT ¶
TelephoneLT applies the LT predicate on the "telephone" field.
func TelephoneLTE ¶
TelephoneLTE applies the LTE predicate on the "telephone" field.
func TelephoneNEQ ¶
TelephoneNEQ applies the NEQ predicate on the "telephone" field.
func TelephoneNotIn ¶
TelephoneNotIn applies the NotIn predicate on the "telephone" field.
func TelephoneNotNil ¶
TelephoneNotNil applies the NotNil predicate on the "telephone" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ZipContains ¶
ZipContains applies the Contains predicate on the "zip" field.
func ZipContainsFold ¶
ZipContainsFold applies the ContainsFold predicate on the "zip" field.
func ZipEqualFold ¶
ZipEqualFold applies the EqualFold predicate on the "zip" field.
func ZipHasPrefix ¶
ZipHasPrefix applies the HasPrefix predicate on the "zip" field.
func ZipHasSuffix ¶
ZipHasSuffix applies the HasSuffix predicate on the "zip" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Address queries.
func ByAddition ¶
func ByAddition(opts ...sql.OrderTermOption) OrderOption
ByAddition orders the results by the addition field.
func ByBusinessField ¶
func ByBusinessField(field string, opts ...sql.OrderTermOption) OrderOption
ByBusinessField orders the results by business field.
func ByCity ¶
func ByCity(opts ...sql.OrderTermOption) OrderOption
ByCity orders the results by the city field.
func ByComment ¶
func ByComment(opts ...sql.OrderTermOption) OrderOption
ByComment orders the results by the comment field.
func ByCountry ¶
func ByCountry(opts ...sql.OrderTermOption) OrderOption
ByCountry orders the results by the country field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLocale ¶
func ByLocale(opts ...sql.OrderTermOption) OrderOption
ByLocale orders the results by the locale field.
func ByPrimary ¶
func ByPrimary(opts ...sql.OrderTermOption) OrderOption
ByPrimary orders the results by the primary field.
func ByState ¶
func ByState(opts ...sql.OrderTermOption) OrderOption
ByState orders the results by the state field.
func ByStreet ¶
func ByStreet(opts ...sql.OrderTermOption) OrderOption
ByStreet orders the results by the street field.
func ByTelephone ¶
func ByTelephone(opts ...sql.OrderTermOption) OrderOption
ByTelephone orders the results by the telephone field.
func ByTimetables ¶
func ByTimetables(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTimetables orders the results by timetables terms.
func ByTimetablesCount ¶
func ByTimetablesCount(opts ...sql.OrderTermOption) OrderOption
ByTimetablesCount orders the results by timetables count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByZip ¶
func ByZip(opts ...sql.OrderTermOption) OrderOption
ByZip orders the results by the zip field.