Documentation
¶
Index ¶
- Constants
- Variables
- func Account(v string) predicate.Member
- func AccountContains(v string) predicate.Member
- func AccountContainsFold(v string) predicate.Member
- func AccountEQ(v string) predicate.Member
- func AccountEqualFold(v string) predicate.Member
- func AccountGT(v string) predicate.Member
- func AccountGTE(v string) predicate.Member
- func AccountHasPrefix(v string) predicate.Member
- func AccountHasSuffix(v string) predicate.Member
- func AccountIn(vs ...string) predicate.Member
- func AccountLT(v string) predicate.Member
- func AccountLTE(v string) predicate.Member
- func AccountNEQ(v string) predicate.Member
- func AccountNotIn(vs ...string) predicate.Member
- func And(predicates ...predicate.Member) predicate.Member
- func Avatar(v string) predicate.Member
- func AvatarContains(v string) predicate.Member
- func AvatarContainsFold(v string) predicate.Member
- func AvatarEQ(v string) predicate.Member
- func AvatarEqualFold(v string) predicate.Member
- func AvatarGT(v string) predicate.Member
- func AvatarGTE(v string) predicate.Member
- func AvatarHasPrefix(v string) predicate.Member
- func AvatarHasSuffix(v string) predicate.Member
- func AvatarIn(vs ...string) predicate.Member
- func AvatarIsNil() predicate.Member
- func AvatarLT(v string) predicate.Member
- func AvatarLTE(v string) predicate.Member
- func AvatarNEQ(v string) predicate.Member
- func AvatarNotIn(vs ...string) predicate.Member
- func AvatarNotNil() predicate.Member
- func CompanyID(v uint64) predicate.Member
- func CompanyIDEQ(v uint64) predicate.Member
- func CompanyIDGT(v uint64) predicate.Member
- func CompanyIDGTE(v uint64) predicate.Member
- func CompanyIDIn(vs ...uint64) predicate.Member
- func CompanyIDLT(v uint64) predicate.Member
- func CompanyIDLTE(v uint64) predicate.Member
- func CompanyIDNEQ(v uint64) predicate.Member
- func CompanyIDNotIn(vs ...uint64) predicate.Member
- func CountryCode(v string) predicate.Member
- func CountryCodeContains(v string) predicate.Member
- func CountryCodeContainsFold(v string) predicate.Member
- func CountryCodeEQ(v string) predicate.Member
- func CountryCodeEqualFold(v string) predicate.Member
- func CountryCodeGT(v string) predicate.Member
- func CountryCodeGTE(v string) predicate.Member
- func CountryCodeHasPrefix(v string) predicate.Member
- func CountryCodeHasSuffix(v string) predicate.Member
- func CountryCodeIn(vs ...string) predicate.Member
- func CountryCodeIsNil() predicate.Member
- func CountryCodeLT(v string) predicate.Member
- func CountryCodeLTE(v string) predicate.Member
- func CountryCodeNEQ(v string) predicate.Member
- func CountryCodeNotIn(vs ...string) predicate.Member
- func CountryCodeNotNil() predicate.Member
- func CreatedAt(v time.Time) predicate.Member
- func CreatedAtEQ(v time.Time) predicate.Member
- func CreatedAtGT(v time.Time) predicate.Member
- func CreatedAtGTE(v time.Time) predicate.Member
- func CreatedAtIn(vs ...time.Time) predicate.Member
- func CreatedAtLT(v time.Time) predicate.Member
- func CreatedAtLTE(v time.Time) predicate.Member
- func CreatedAtNEQ(v time.Time) predicate.Member
- func CreatedAtNotIn(vs ...time.Time) predicate.Member
- func HasCompanies() predicate.Member
- func HasCompaniesWith(preds ...predicate.Company) predicate.Member
- func HasDevices() predicate.Member
- func HasDevicesWith(preds ...predicate.Device) predicate.Member
- func ID(id uuid.UUID) predicate.Member
- func IDEQ(id uuid.UUID) predicate.Member
- func IDGT(id uuid.UUID) predicate.Member
- func IDGTE(id uuid.UUID) predicate.Member
- func IDIn(ids ...uuid.UUID) predicate.Member
- func IDLT(id uuid.UUID) predicate.Member
- func IDLTE(id uuid.UUID) predicate.Member
- func IDNEQ(id uuid.UUID) predicate.Member
- func IDNotIn(ids ...uuid.UUID) predicate.Member
- func Mobile(v string) predicate.Member
- func MobileContains(v string) predicate.Member
- func MobileContainsFold(v string) predicate.Member
- func MobileEQ(v string) predicate.Member
- func MobileEqualFold(v string) predicate.Member
- func MobileGT(v string) predicate.Member
- func MobileGTE(v string) predicate.Member
- func MobileHasPrefix(v string) predicate.Member
- func MobileHasSuffix(v string) predicate.Member
- func MobileIn(vs ...string) predicate.Member
- func MobileLT(v string) predicate.Member
- func MobileLTE(v string) predicate.Member
- func MobileNEQ(v string) predicate.Member
- func MobileNotIn(vs ...string) predicate.Member
- func Name(v string) predicate.Member
- func NameContains(v string) predicate.Member
- func NameContainsFold(v string) predicate.Member
- func NameEQ(v string) predicate.Member
- func NameEqualFold(v string) predicate.Member
- func NameGT(v string) predicate.Member
- func NameGTE(v string) predicate.Member
- func NameHasPrefix(v string) predicate.Member
- func NameHasSuffix(v string) predicate.Member
- func NameIn(vs ...string) predicate.Member
- func NameLT(v string) predicate.Member
- func NameLTE(v string) predicate.Member
- func NameNEQ(v string) predicate.Member
- func NameNotIn(vs ...string) predicate.Member
- func Not(p predicate.Member) predicate.Member
- func Or(predicates ...predicate.Member) predicate.Member
- func Password(v string) predicate.Member
- func PasswordContains(v string) predicate.Member
- func PasswordContainsFold(v string) predicate.Member
- func PasswordEQ(v string) predicate.Member
- func PasswordEqualFold(v string) predicate.Member
- func PasswordGT(v string) predicate.Member
- func PasswordGTE(v string) predicate.Member
- func PasswordHasPrefix(v string) predicate.Member
- func PasswordHasSuffix(v string) predicate.Member
- func PasswordIn(vs ...string) predicate.Member
- func PasswordLT(v string) predicate.Member
- func PasswordLTE(v string) predicate.Member
- func PasswordNEQ(v string) predicate.Member
- func PasswordNotIn(vs ...string) predicate.Member
- func Sort(v uint32) predicate.Member
- func SortEQ(v uint32) predicate.Member
- func SortGT(v uint32) predicate.Member
- func SortGTE(v uint32) predicate.Member
- func SortIn(vs ...uint32) predicate.Member
- func SortLT(v uint32) predicate.Member
- func SortLTE(v uint32) predicate.Member
- func SortNEQ(v uint32) predicate.Member
- func SortNotIn(vs ...uint32) predicate.Member
- func Status(v uint8) predicate.Member
- func StatusEQ(v uint8) predicate.Member
- func StatusGT(v uint8) predicate.Member
- func StatusGTE(v uint8) predicate.Member
- func StatusIn(vs ...uint8) predicate.Member
- func StatusIsNil() predicate.Member
- func StatusLT(v uint8) predicate.Member
- func StatusLTE(v uint8) predicate.Member
- func StatusNEQ(v uint8) predicate.Member
- func StatusNotIn(vs ...uint8) predicate.Member
- func StatusNotNil() predicate.Member
- func Type(v int32) predicate.Member
- func TypeEQ(v int32) predicate.Member
- func TypeGT(v int32) predicate.Member
- func TypeGTE(v int32) predicate.Member
- func TypeIn(vs ...int32) predicate.Member
- func TypeIsNil() predicate.Member
- func TypeLT(v int32) predicate.Member
- func TypeLTE(v int32) predicate.Member
- func TypeNEQ(v int32) predicate.Member
- func TypeNotIn(vs ...int32) predicate.Member
- func TypeNotNil() predicate.Member
- func UpdatedAt(v time.Time) predicate.Member
- func UpdatedAtEQ(v time.Time) predicate.Member
- func UpdatedAtGT(v time.Time) predicate.Member
- func UpdatedAtGTE(v time.Time) predicate.Member
- func UpdatedAtIn(vs ...time.Time) predicate.Member
- func UpdatedAtLT(v time.Time) predicate.Member
- func UpdatedAtLTE(v time.Time) predicate.Member
- func UpdatedAtNEQ(v time.Time) predicate.Member
- func UpdatedAtNotIn(vs ...time.Time) predicate.Member
- func ValidColumn(column string) bool
- type OrderOption
- func ByAccount(opts ...sql.OrderTermOption) OrderOption
- func ByAvatar(opts ...sql.OrderTermOption) OrderOption
- func ByCompaniesField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCompanyID(opts ...sql.OrderTermOption) OrderOption
- func ByCountryCode(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDevices(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByDevicesCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMobile(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPassword(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the member type in the database. Label = "member" // 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" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // FieldCompanyID holds the string denoting the companyid field in the database. FieldCompanyID = "company_id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldMobile holds the string denoting the mobile field in the database. FieldMobile = "mobile" // FieldAvatar holds the string denoting the avatar field in the database. FieldAvatar = "avatar" // FieldAccount holds the string denoting the account field in the database. FieldAccount = "account" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldCountryCode holds the string denoting the countrycode field in the database. FieldCountryCode = "country_code" // EdgeDevices holds the string denoting the devices edge name in mutations. EdgeDevices = "devices" // EdgeCompanies holds the string denoting the companies edge name in mutations. EdgeCompanies = "companies" // Table holds the table name of the member in the database. Table = "client_members" // DevicesTable is the table that holds the devices relation/edge. The primary key declared below. DevicesTable = "member_devices" // DevicesInverseTable is the table name for the Device entity. // It exists in this package in order to avoid circular dependency with the "device" package. DevicesInverseTable = "equip_devices" // CompaniesTable is the table that holds the companies relation/edge. CompaniesTable = "client_members" // CompaniesInverseTable is the table name for the Company entity. // It exists in this package in order to avoid circular dependency with the "company" package. CompaniesInverseTable = "client_companies" // CompaniesColumn is the table column denoting the companies relation/edge. CompaniesColumn = "company_members" )
Variables ¶
var ( // 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 // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus uint8 // DefaultSort holds the default value on creation for the "sort" field. DefaultSort uint32 // DefaultType holds the default value on creation for the "type" field. DefaultType int32 // DefaultCountryCode holds the default value on creation for the "countryCode" field. DefaultCountryCode string // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldStatus, FieldSort, FieldCompanyID, FieldType, FieldName, FieldMobile, FieldAvatar, FieldAccount, FieldPassword, FieldCountryCode, }
Columns holds all SQL columns for member fields.
var ( // DevicesPrimaryKey and DevicesColumn2 are the table columns denoting the // primary key for the devices relation (M2M). DevicesPrimaryKey = []string{"member_id", "device_id"} )
var ForeignKeys = []string{
"company_members",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "client_members" table and are not defined as standalone fields in the schema.
Functions ¶
func Account ¶
Account applies equality check predicate on the "account" field. It's identical to AccountEQ.
func AccountContains ¶
AccountContains applies the Contains predicate on the "account" field.
func AccountContainsFold ¶
AccountContainsFold applies the ContainsFold predicate on the "account" field.
func AccountEqualFold ¶
AccountEqualFold applies the EqualFold predicate on the "account" field.
func AccountGTE ¶
AccountGTE applies the GTE predicate on the "account" field.
func AccountHasPrefix ¶
AccountHasPrefix applies the HasPrefix predicate on the "account" field.
func AccountHasSuffix ¶
AccountHasSuffix applies the HasSuffix predicate on the "account" field.
func AccountLTE ¶
AccountLTE applies the LTE predicate on the "account" field.
func AccountNEQ ¶
AccountNEQ applies the NEQ predicate on the "account" field.
func AccountNotIn ¶
AccountNotIn applies the NotIn predicate on the "account" field.
func Avatar ¶
Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
func AvatarContains ¶
AvatarContains applies the Contains predicate on the "avatar" field.
func AvatarContainsFold ¶
AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
func AvatarEqualFold ¶
AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
func AvatarHasPrefix ¶
AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
func AvatarHasSuffix ¶
AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
func AvatarIsNil ¶
AvatarIsNil applies the IsNil predicate on the "avatar" field.
func AvatarNotIn ¶
AvatarNotIn applies the NotIn predicate on the "avatar" field.
func AvatarNotNil ¶
AvatarNotNil applies the NotNil predicate on the "avatar" field.
func CompanyID ¶
CompanyID applies equality check predicate on the "companyID" field. It's identical to CompanyIDEQ.
func CompanyIDEQ ¶
CompanyIDEQ applies the EQ predicate on the "companyID" field.
func CompanyIDGT ¶
CompanyIDGT applies the GT predicate on the "companyID" field.
func CompanyIDGTE ¶
CompanyIDGTE applies the GTE predicate on the "companyID" field.
func CompanyIDIn ¶
CompanyIDIn applies the In predicate on the "companyID" field.
func CompanyIDLT ¶
CompanyIDLT applies the LT predicate on the "companyID" field.
func CompanyIDLTE ¶
CompanyIDLTE applies the LTE predicate on the "companyID" field.
func CompanyIDNEQ ¶
CompanyIDNEQ applies the NEQ predicate on the "companyID" field.
func CompanyIDNotIn ¶
CompanyIDNotIn applies the NotIn predicate on the "companyID" field.
func CountryCode ¶
CountryCode applies equality check predicate on the "countryCode" field. It's identical to CountryCodeEQ.
func CountryCodeContains ¶
CountryCodeContains applies the Contains predicate on the "countryCode" field.
func CountryCodeContainsFold ¶
CountryCodeContainsFold applies the ContainsFold predicate on the "countryCode" field.
func CountryCodeEQ ¶
CountryCodeEQ applies the EQ predicate on the "countryCode" field.
func CountryCodeEqualFold ¶
CountryCodeEqualFold applies the EqualFold predicate on the "countryCode" field.
func CountryCodeGT ¶
CountryCodeGT applies the GT predicate on the "countryCode" field.
func CountryCodeGTE ¶
CountryCodeGTE applies the GTE predicate on the "countryCode" field.
func CountryCodeHasPrefix ¶
CountryCodeHasPrefix applies the HasPrefix predicate on the "countryCode" field.
func CountryCodeHasSuffix ¶
CountryCodeHasSuffix applies the HasSuffix predicate on the "countryCode" field.
func CountryCodeIn ¶
CountryCodeIn applies the In predicate on the "countryCode" field.
func CountryCodeIsNil ¶
CountryCodeIsNil applies the IsNil predicate on the "countryCode" field.
func CountryCodeLT ¶
CountryCodeLT applies the LT predicate on the "countryCode" field.
func CountryCodeLTE ¶
CountryCodeLTE applies the LTE predicate on the "countryCode" field.
func CountryCodeNEQ ¶
CountryCodeNEQ applies the NEQ predicate on the "countryCode" field.
func CountryCodeNotIn ¶
CountryCodeNotIn applies the NotIn predicate on the "countryCode" field.
func CountryCodeNotNil ¶
CountryCodeNotNil applies the NotNil predicate on the "countryCode" 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 HasCompanies ¶
HasCompanies applies the HasEdge predicate on the "companies" edge.
func HasCompaniesWith ¶
HasCompaniesWith applies the HasEdge predicate on the "companies" edge with a given conditions (other predicates).
func HasDevices ¶
HasDevices applies the HasEdge predicate on the "devices" edge.
func HasDevicesWith ¶
HasDevicesWith applies the HasEdge predicate on the "devices" edge with a given conditions (other predicates).
func Mobile ¶
Mobile applies equality check predicate on the "mobile" field. It's identical to MobileEQ.
func MobileContains ¶
MobileContains applies the Contains predicate on the "mobile" field.
func MobileContainsFold ¶
MobileContainsFold applies the ContainsFold predicate on the "mobile" field.
func MobileEqualFold ¶
MobileEqualFold applies the EqualFold predicate on the "mobile" field.
func MobileHasPrefix ¶
MobileHasPrefix applies the HasPrefix predicate on the "mobile" field.
func MobileHasSuffix ¶
MobileHasSuffix applies the HasSuffix predicate on the "mobile" field.
func MobileNotIn ¶
MobileNotIn applies the NotIn predicate on the "mobile" 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 Password ¶
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
PasswordIn applies the In predicate on the "password" field.
func PasswordLT ¶
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
PasswordNotIn applies the NotIn predicate on the "password" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func TypeNotNil ¶
TypeNotNil applies the NotNil predicate on the "type" 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).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Member queries.
func ByAccount ¶
func ByAccount(opts ...sql.OrderTermOption) OrderOption
ByAccount orders the results by the account field.
func ByAvatar ¶
func ByAvatar(opts ...sql.OrderTermOption) OrderOption
ByAvatar orders the results by the avatar field.
func ByCompaniesField ¶
func ByCompaniesField(field string, opts ...sql.OrderTermOption) OrderOption
ByCompaniesField orders the results by companies field.
func ByCompanyID ¶
func ByCompanyID(opts ...sql.OrderTermOption) OrderOption
ByCompanyID orders the results by the companyID field.
func ByCountryCode ¶
func ByCountryCode(opts ...sql.OrderTermOption) OrderOption
ByCountryCode orders the results by the countryCode field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDevices ¶
func ByDevices(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByDevices orders the results by devices terms.
func ByDevicesCount ¶
func ByDevicesCount(opts ...sql.OrderTermOption) OrderOption
ByDevicesCount orders the results by devices count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMobile ¶
func ByMobile(opts ...sql.OrderTermOption) OrderOption
ByMobile orders the results by the mobile field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPassword ¶
func ByPassword(opts ...sql.OrderTermOption) OrderOption
ByPassword orders the results by the password field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.