Documentation ¶
Index ¶
- Constants
- Variables
- func Active(v bool) predicate.Business
- func ActiveEQ(v bool) predicate.Business
- func ActiveNEQ(v bool) predicate.Business
- func Alias(v string) predicate.Business
- func AliasContains(v string) predicate.Business
- func AliasContainsFold(v string) predicate.Business
- func AliasEQ(v string) predicate.Business
- func AliasEqualFold(v string) predicate.Business
- func AliasGT(v string) predicate.Business
- func AliasGTE(v string) predicate.Business
- func AliasHasPrefix(v string) predicate.Business
- func AliasHasSuffix(v string) predicate.Business
- func AliasIn(vs ...string) predicate.Business
- func AliasLT(v string) predicate.Business
- func AliasLTE(v string) predicate.Business
- func AliasNEQ(v string) predicate.Business
- func AliasNotIn(vs ...string) predicate.Business
- func And(predicates ...predicate.Business) predicate.Business
- func Comment(v string) predicate.Business
- func CommentContains(v string) predicate.Business
- func CommentContainsFold(v string) predicate.Business
- func CommentEQ(v string) predicate.Business
- func CommentEqualFold(v string) predicate.Business
- func CommentGT(v string) predicate.Business
- func CommentGTE(v string) predicate.Business
- func CommentHasPrefix(v string) predicate.Business
- func CommentHasSuffix(v string) predicate.Business
- func CommentIn(vs ...string) predicate.Business
- func CommentIsNil() predicate.Business
- func CommentLT(v string) predicate.Business
- func CommentLTE(v string) predicate.Business
- func CommentNEQ(v string) predicate.Business
- func CommentNotIn(vs ...string) predicate.Business
- func CommentNotNil() predicate.Business
- func CreatedAt(v time.Time) predicate.Business
- func CreatedAtEQ(v time.Time) predicate.Business
- func CreatedAtGT(v time.Time) predicate.Business
- func CreatedAtGTE(v time.Time) predicate.Business
- func CreatedAtIn(vs ...time.Time) predicate.Business
- func CreatedAtLT(v time.Time) predicate.Business
- func CreatedAtLTE(v time.Time) predicate.Business
- func CreatedAtNEQ(v time.Time) predicate.Business
- func CreatedAtNotIn(vs ...time.Time) predicate.Business
- func DeletedAt(v time.Time) predicate.Business
- func DeletedAtEQ(v time.Time) predicate.Business
- func DeletedAtGT(v time.Time) predicate.Business
- func DeletedAtGTE(v time.Time) predicate.Business
- func DeletedAtIn(vs ...time.Time) predicate.Business
- func DeletedAtIsNil() predicate.Business
- func DeletedAtLT(v time.Time) predicate.Business
- func DeletedAtLTE(v time.Time) predicate.Business
- func DeletedAtNEQ(v time.Time) predicate.Business
- func DeletedAtNotIn(vs ...time.Time) predicate.Business
- func DeletedAtNotNil() predicate.Business
- func Email(v string) predicate.Business
- func EmailContains(v string) predicate.Business
- func EmailContainsFold(v string) predicate.Business
- func EmailEQ(v string) predicate.Business
- func EmailEqualFold(v string) predicate.Business
- func EmailGT(v string) predicate.Business
- func EmailGTE(v string) predicate.Business
- func EmailHasPrefix(v string) predicate.Business
- func EmailHasSuffix(v string) predicate.Business
- func EmailIn(vs ...string) predicate.Business
- func EmailIsNil() predicate.Business
- func EmailLT(v string) predicate.Business
- func EmailLTE(v string) predicate.Business
- func EmailNEQ(v string) predicate.Business
- func EmailNotIn(vs ...string) predicate.Business
- func EmailNotNil() predicate.Business
- func HasAddresses() predicate.Business
- func HasAddressesWith(preds ...predicate.Address) predicate.Business
- func HasOperators() predicate.Business
- func HasOperatorsWith(preds ...predicate.Operator) predicate.Business
- func HasTags() predicate.Business
- func HasTagsWith(preds ...predicate.Tag) predicate.Business
- func HasUsers() predicate.Business
- func HasUsersWith(preds ...predicate.User) predicate.Business
- func ID(id uuid.UUID) predicate.Business
- func IDEQ(id uuid.UUID) predicate.Business
- func IDGT(id uuid.UUID) predicate.Business
- func IDGTE(id uuid.UUID) predicate.Business
- func IDIn(ids ...uuid.UUID) predicate.Business
- func IDLT(id uuid.UUID) predicate.Business
- func IDLTE(id uuid.UUID) predicate.Business
- func IDNEQ(id uuid.UUID) predicate.Business
- func IDNotIn(ids ...uuid.UUID) predicate.Business
- func Name1(v string) predicate.Business
- func Name1Contains(v string) predicate.Business
- func Name1ContainsFold(v string) predicate.Business
- func Name1EQ(v string) predicate.Business
- func Name1EqualFold(v string) predicate.Business
- func Name1GT(v string) predicate.Business
- func Name1GTE(v string) predicate.Business
- func Name1HasPrefix(v string) predicate.Business
- func Name1HasSuffix(v string) predicate.Business
- func Name1In(vs ...string) predicate.Business
- func Name1LT(v string) predicate.Business
- func Name1LTE(v string) predicate.Business
- func Name1NEQ(v string) predicate.Business
- func Name1NotIn(vs ...string) predicate.Business
- func Name2(v string) predicate.Business
- func Name2Contains(v string) predicate.Business
- func Name2ContainsFold(v string) predicate.Business
- func Name2EQ(v string) predicate.Business
- func Name2EqualFold(v string) predicate.Business
- func Name2GT(v string) predicate.Business
- func Name2GTE(v string) predicate.Business
- func Name2HasPrefix(v string) predicate.Business
- func Name2HasSuffix(v string) predicate.Business
- func Name2In(vs ...string) predicate.Business
- func Name2IsNil() predicate.Business
- func Name2LT(v string) predicate.Business
- func Name2LTE(v string) predicate.Business
- func Name2NEQ(v string) predicate.Business
- func Name2NotIn(vs ...string) predicate.Business
- func Name2NotNil() predicate.Business
- func Not(p predicate.Business) predicate.Business
- func Or(predicates ...predicate.Business) predicate.Business
- func Telephone(v string) predicate.Business
- func TelephoneContains(v string) predicate.Business
- func TelephoneContainsFold(v string) predicate.Business
- func TelephoneEQ(v string) predicate.Business
- func TelephoneEqualFold(v string) predicate.Business
- func TelephoneGT(v string) predicate.Business
- func TelephoneGTE(v string) predicate.Business
- func TelephoneHasPrefix(v string) predicate.Business
- func TelephoneHasSuffix(v string) predicate.Business
- func TelephoneIn(vs ...string) predicate.Business
- func TelephoneIsNil() predicate.Business
- func TelephoneLT(v string) predicate.Business
- func TelephoneLTE(v string) predicate.Business
- func TelephoneNEQ(v string) predicate.Business
- func TelephoneNotIn(vs ...string) predicate.Business
- func TelephoneNotNil() predicate.Business
- func UpdatedAt(v time.Time) predicate.Business
- func UpdatedAtEQ(v time.Time) predicate.Business
- func UpdatedAtGT(v time.Time) predicate.Business
- func UpdatedAtGTE(v time.Time) predicate.Business
- func UpdatedAtIn(vs ...time.Time) predicate.Business
- func UpdatedAtLT(v time.Time) predicate.Business
- func UpdatedAtLTE(v time.Time) predicate.Business
- func UpdatedAtNEQ(v time.Time) predicate.Business
- func UpdatedAtNotIn(vs ...time.Time) predicate.Business
- func ValidColumn(column string) bool
- func Website(v string) predicate.Business
- func WebsiteContains(v string) predicate.Business
- func WebsiteContainsFold(v string) predicate.Business
- func WebsiteEQ(v string) predicate.Business
- func WebsiteEqualFold(v string) predicate.Business
- func WebsiteGT(v string) predicate.Business
- func WebsiteGTE(v string) predicate.Business
- func WebsiteHasPrefix(v string) predicate.Business
- func WebsiteHasSuffix(v string) predicate.Business
- func WebsiteIn(vs ...string) predicate.Business
- func WebsiteIsNil() predicate.Business
- func WebsiteLT(v string) predicate.Business
- func WebsiteLTE(v string) predicate.Business
- func WebsiteNEQ(v string) predicate.Business
- func WebsiteNotIn(vs ...string) predicate.Business
- func WebsiteNotNil() predicate.Business
- type OrderOption
- func ByActive(opts ...sql.OrderTermOption) OrderOption
- func ByAddresses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAddressesCount(opts ...sql.OrderTermOption) OrderOption
- func ByAlias(opts ...sql.OrderTermOption) OrderOption
- func ByComment(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName1(opts ...sql.OrderTermOption) OrderOption
- func ByName2(opts ...sql.OrderTermOption) OrderOption
- func ByOperators(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOperatorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTags(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTagsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTelephone(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
- func ByWebsite(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the business type in the database. Label = "business" // 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" // FieldName1 holds the string denoting the name1 field in the database. FieldName1 = "name1" // FieldName2 holds the string denoting the name2 field in the database. FieldName2 = "name2" // FieldAlias holds the string denoting the alias field in the database. FieldAlias = "alias" // FieldTelephone holds the string denoting the telephone field in the database. FieldTelephone = "telephone" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldWebsite holds the string denoting the website field in the database. FieldWebsite = "website" // FieldComment holds the string denoting the comment field in the database. FieldComment = "comment" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // EdgeAddresses holds the string denoting the addresses edge name in mutations. EdgeAddresses = "addresses" // EdgeTags holds the string denoting the tags edge name in mutations. EdgeTags = "tags" // EdgeUsers holds the string denoting the users edge name in mutations. EdgeUsers = "users" // EdgeOperators holds the string denoting the operators edge name in mutations. EdgeOperators = "operators" // Table holds the table name of the business in the database. Table = "businesses" // AddressesTable is the table that holds the addresses relation/edge. AddressesTable = "addresses" // AddressesInverseTable is the table name for the Address entity. // It exists in this package in order to avoid circular dependency with the "address" package. AddressesInverseTable = "addresses" // AddressesColumn is the table column denoting the addresses relation/edge. AddressesColumn = "business_addresses" // TagsTable is the table that holds the tags relation/edge. The primary key declared below. TagsTable = "business_tags" // TagsInverseTable is the table name for the Tag entity. // It exists in this package in order to avoid circular dependency with the "tag" package. TagsInverseTable = "tags" // UsersTable is the table that holds the users relation/edge. The primary key declared below. UsersTable = "business_users" // UsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UsersInverseTable = "users" // OperatorsTable is the table that holds the operators relation/edge. The primary key declared below. OperatorsTable = "business_operators" // OperatorsInverseTable is the table name for the Operator entity. // It exists in this package in order to avoid circular dependency with the "operator" package. OperatorsInverseTable = "operators" )
Variables ¶
var ( // TagsPrimaryKey and TagsColumn2 are the table columns denoting the // primary key for the tags relation (M2M). TagsPrimaryKey = []string{"business_id", "tag_id"} // UsersPrimaryKey and UsersColumn2 are the table columns denoting the // primary key for the users relation (M2M). UsersPrimaryKey = []string{"business_id", "user_id"} // OperatorsPrimaryKey and OperatorsColumn2 are the table columns denoting the // primary key for the operators relation (M2M). OperatorsPrimaryKey = []string{"business_id", "operator_id"} )
var ( Hooks [3]ent.Hook Policy ent.Policy // 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 // Name1Validator is a validator for the "name1" field. It is called by the builders before save. Name1Validator func(string) error // AliasValidator is a validator for the "alias" field. It is called by the builders before save. AliasValidator func(string) error // DefaultActive holds the default value on creation for the "active" field. DefaultActive 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, FieldName1, FieldName2, FieldAlias, FieldTelephone, FieldEmail, FieldWebsite, FieldComment, FieldActive, }
Columns holds all SQL columns for business 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 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 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 Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func HasAddresses ¶
HasAddresses applies the HasEdge predicate on the "addresses" edge.
func HasAddressesWith ¶
HasAddressesWith applies the HasEdge predicate on the "addresses" edge with a given conditions (other predicates).
func HasOperators ¶
HasOperators applies the HasEdge predicate on the "operators" edge.
func HasOperatorsWith ¶
HasOperatorsWith applies the HasEdge predicate on the "operators" edge with a given conditions (other predicates).
func HasTagsWith ¶
HasTagsWith applies the HasEdge predicate on the "tags" edge with a given conditions (other predicates).
func HasUsersWith ¶
HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).
func Name1 ¶
Name1 applies equality check predicate on the "name1" field. It's identical to Name1EQ.
func Name1Contains ¶
Name1Contains applies the Contains predicate on the "name1" field.
func Name1ContainsFold ¶
Name1ContainsFold applies the ContainsFold predicate on the "name1" field.
func Name1EqualFold ¶
Name1EqualFold applies the EqualFold predicate on the "name1" field.
func Name1HasPrefix ¶
Name1HasPrefix applies the HasPrefix predicate on the "name1" field.
func Name1HasSuffix ¶
Name1HasSuffix applies the HasSuffix predicate on the "name1" field.
func Name1NotIn ¶
Name1NotIn applies the NotIn predicate on the "name1" field.
func Name2 ¶
Name2 applies equality check predicate on the "name2" field. It's identical to Name2EQ.
func Name2Contains ¶
Name2Contains applies the Contains predicate on the "name2" field.
func Name2ContainsFold ¶
Name2ContainsFold applies the ContainsFold predicate on the "name2" field.
func Name2EqualFold ¶
Name2EqualFold applies the EqualFold predicate on the "name2" field.
func Name2HasPrefix ¶
Name2HasPrefix applies the HasPrefix predicate on the "name2" field.
func Name2HasSuffix ¶
Name2HasSuffix applies the HasSuffix predicate on the "name2" field.
func Name2IsNil ¶
Name2IsNil applies the IsNil predicate on the "name2" field.
func Name2NotIn ¶
Name2NotIn applies the NotIn predicate on the "name2" field.
func Name2NotNil ¶
Name2NotNil applies the NotNil predicate on the "name2" 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 Website ¶
Website applies equality check predicate on the "website" field. It's identical to WebsiteEQ.
func WebsiteContains ¶
WebsiteContains applies the Contains predicate on the "website" field.
func WebsiteContainsFold ¶
WebsiteContainsFold applies the ContainsFold predicate on the "website" field.
func WebsiteEqualFold ¶
WebsiteEqualFold applies the EqualFold predicate on the "website" field.
func WebsiteGTE ¶
WebsiteGTE applies the GTE predicate on the "website" field.
func WebsiteHasPrefix ¶
WebsiteHasPrefix applies the HasPrefix predicate on the "website" field.
func WebsiteHasSuffix ¶
WebsiteHasSuffix applies the HasSuffix predicate on the "website" field.
func WebsiteIsNil ¶
WebsiteIsNil applies the IsNil predicate on the "website" field.
func WebsiteLTE ¶
WebsiteLTE applies the LTE predicate on the "website" field.
func WebsiteNEQ ¶
WebsiteNEQ applies the NEQ predicate on the "website" field.
func WebsiteNotIn ¶
WebsiteNotIn applies the NotIn predicate on the "website" field.
func WebsiteNotNil ¶
WebsiteNotNil applies the NotNil predicate on the "website" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Business queries.
func ByActive ¶
func ByActive(opts ...sql.OrderTermOption) OrderOption
ByActive orders the results by the active field.
func ByAddresses ¶
func ByAddresses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAddresses orders the results by addresses terms.
func ByAddressesCount ¶
func ByAddressesCount(opts ...sql.OrderTermOption) OrderOption
ByAddressesCount orders the results by addresses count.
func ByAlias ¶
func ByAlias(opts ...sql.OrderTermOption) OrderOption
ByAlias orders the results by the alias field.
func ByComment ¶
func ByComment(opts ...sql.OrderTermOption) OrderOption
ByComment orders the results by the comment 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 ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName1 ¶
func ByName1(opts ...sql.OrderTermOption) OrderOption
ByName1 orders the results by the name1 field.
func ByName2 ¶
func ByName2(opts ...sql.OrderTermOption) OrderOption
ByName2 orders the results by the name2 field.
func ByOperators ¶
func ByOperators(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOperators orders the results by operators terms.
func ByOperatorsCount ¶
func ByOperatorsCount(opts ...sql.OrderTermOption) OrderOption
ByOperatorsCount orders the results by operators count.
func ByTags ¶
func ByTags(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTags orders the results by tags terms.
func ByTagsCount ¶
func ByTagsCount(opts ...sql.OrderTermOption) OrderOption
ByTagsCount orders the results by tags count.
func ByTelephone ¶
func ByTelephone(opts ...sql.OrderTermOption) OrderOption
ByTelephone orders the results by the telephone field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUsers ¶
func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUsers orders the results by users terms.
func ByUsersCount ¶
func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
ByUsersCount orders the results by users count.
func ByWebsite ¶
func ByWebsite(opts ...sql.OrderTermOption) OrderOption
ByWebsite orders the results by the website field.