member

package
v0.0.0-...-ca5a4cf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for member fields.

View Source
var (
	// DevicesPrimaryKey and DevicesColumn2 are the table columns denoting the
	// primary key for the devices relation (M2M).
	DevicesPrimaryKey = []string{"member_id", "device_id"}
)
View Source
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

func Account(v string) predicate.Member

Account applies equality check predicate on the "account" field. It's identical to AccountEQ.

func AccountContains

func AccountContains(v string) predicate.Member

AccountContains applies the Contains predicate on the "account" field.

func AccountContainsFold

func AccountContainsFold(v string) predicate.Member

AccountContainsFold applies the ContainsFold predicate on the "account" field.

func AccountEQ

func AccountEQ(v string) predicate.Member

AccountEQ applies the EQ predicate on the "account" field.

func AccountEqualFold

func AccountEqualFold(v string) predicate.Member

AccountEqualFold applies the EqualFold predicate on the "account" field.

func AccountGT

func AccountGT(v string) predicate.Member

AccountGT applies the GT predicate on the "account" field.

func AccountGTE

func AccountGTE(v string) predicate.Member

AccountGTE applies the GTE predicate on the "account" field.

func AccountHasPrefix

func AccountHasPrefix(v string) predicate.Member

AccountHasPrefix applies the HasPrefix predicate on the "account" field.

func AccountHasSuffix

func AccountHasSuffix(v string) predicate.Member

AccountHasSuffix applies the HasSuffix predicate on the "account" field.

func AccountIn

func AccountIn(vs ...string) predicate.Member

AccountIn applies the In predicate on the "account" field.

func AccountLT

func AccountLT(v string) predicate.Member

AccountLT applies the LT predicate on the "account" field.

func AccountLTE

func AccountLTE(v string) predicate.Member

AccountLTE applies the LTE predicate on the "account" field.

func AccountNEQ

func AccountNEQ(v string) predicate.Member

AccountNEQ applies the NEQ predicate on the "account" field.

func AccountNotIn

func AccountNotIn(vs ...string) predicate.Member

AccountNotIn applies the NotIn predicate on the "account" field.

func And

func And(predicates ...predicate.Member) predicate.Member

And groups predicates with the AND operator between them.

func Avatar

func Avatar(v string) predicate.Member

Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.

func AvatarContains

func AvatarContains(v string) predicate.Member

AvatarContains applies the Contains predicate on the "avatar" field.

func AvatarContainsFold

func AvatarContainsFold(v string) predicate.Member

AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.

func AvatarEQ

func AvatarEQ(v string) predicate.Member

AvatarEQ applies the EQ predicate on the "avatar" field.

func AvatarEqualFold

func AvatarEqualFold(v string) predicate.Member

AvatarEqualFold applies the EqualFold predicate on the "avatar" field.

func AvatarGT

func AvatarGT(v string) predicate.Member

AvatarGT applies the GT predicate on the "avatar" field.

func AvatarGTE

func AvatarGTE(v string) predicate.Member

AvatarGTE applies the GTE predicate on the "avatar" field.

func AvatarHasPrefix

func AvatarHasPrefix(v string) predicate.Member

AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.

func AvatarHasSuffix

func AvatarHasSuffix(v string) predicate.Member

AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.

func AvatarIn

func AvatarIn(vs ...string) predicate.Member

AvatarIn applies the In predicate on the "avatar" field.

func AvatarIsNil

func AvatarIsNil() predicate.Member

AvatarIsNil applies the IsNil predicate on the "avatar" field.

func AvatarLT

func AvatarLT(v string) predicate.Member

AvatarLT applies the LT predicate on the "avatar" field.

func AvatarLTE

func AvatarLTE(v string) predicate.Member

AvatarLTE applies the LTE predicate on the "avatar" field.

func AvatarNEQ

func AvatarNEQ(v string) predicate.Member

AvatarNEQ applies the NEQ predicate on the "avatar" field.

func AvatarNotIn

func AvatarNotIn(vs ...string) predicate.Member

AvatarNotIn applies the NotIn predicate on the "avatar" field.

func AvatarNotNil

func AvatarNotNil() predicate.Member

AvatarNotNil applies the NotNil predicate on the "avatar" field.

func CompanyID

func CompanyID(v uint64) predicate.Member

CompanyID applies equality check predicate on the "companyID" field. It's identical to CompanyIDEQ.

func CompanyIDEQ

func CompanyIDEQ(v uint64) predicate.Member

CompanyIDEQ applies the EQ predicate on the "companyID" field.

func CompanyIDGT

func CompanyIDGT(v uint64) predicate.Member

CompanyIDGT applies the GT predicate on the "companyID" field.

func CompanyIDGTE

func CompanyIDGTE(v uint64) predicate.Member

CompanyIDGTE applies the GTE predicate on the "companyID" field.

func CompanyIDIn

func CompanyIDIn(vs ...uint64) predicate.Member

CompanyIDIn applies the In predicate on the "companyID" field.

func CompanyIDLT

func CompanyIDLT(v uint64) predicate.Member

CompanyIDLT applies the LT predicate on the "companyID" field.

func CompanyIDLTE

func CompanyIDLTE(v uint64) predicate.Member

CompanyIDLTE applies the LTE predicate on the "companyID" field.

func CompanyIDNEQ

func CompanyIDNEQ(v uint64) predicate.Member

CompanyIDNEQ applies the NEQ predicate on the "companyID" field.

func CompanyIDNotIn

func CompanyIDNotIn(vs ...uint64) predicate.Member

CompanyIDNotIn applies the NotIn predicate on the "companyID" field.

func CountryCode

func CountryCode(v string) predicate.Member

CountryCode applies equality check predicate on the "countryCode" field. It's identical to CountryCodeEQ.

func CountryCodeContains

func CountryCodeContains(v string) predicate.Member

CountryCodeContains applies the Contains predicate on the "countryCode" field.

func CountryCodeContainsFold

func CountryCodeContainsFold(v string) predicate.Member

CountryCodeContainsFold applies the ContainsFold predicate on the "countryCode" field.

func CountryCodeEQ

func CountryCodeEQ(v string) predicate.Member

CountryCodeEQ applies the EQ predicate on the "countryCode" field.

func CountryCodeEqualFold

func CountryCodeEqualFold(v string) predicate.Member

CountryCodeEqualFold applies the EqualFold predicate on the "countryCode" field.

func CountryCodeGT

func CountryCodeGT(v string) predicate.Member

CountryCodeGT applies the GT predicate on the "countryCode" field.

func CountryCodeGTE

func CountryCodeGTE(v string) predicate.Member

CountryCodeGTE applies the GTE predicate on the "countryCode" field.

func CountryCodeHasPrefix

func CountryCodeHasPrefix(v string) predicate.Member

CountryCodeHasPrefix applies the HasPrefix predicate on the "countryCode" field.

func CountryCodeHasSuffix

func CountryCodeHasSuffix(v string) predicate.Member

CountryCodeHasSuffix applies the HasSuffix predicate on the "countryCode" field.

func CountryCodeIn

func CountryCodeIn(vs ...string) predicate.Member

CountryCodeIn applies the In predicate on the "countryCode" field.

func CountryCodeIsNil

func CountryCodeIsNil() predicate.Member

CountryCodeIsNil applies the IsNil predicate on the "countryCode" field.

func CountryCodeLT

func CountryCodeLT(v string) predicate.Member

CountryCodeLT applies the LT predicate on the "countryCode" field.

func CountryCodeLTE

func CountryCodeLTE(v string) predicate.Member

CountryCodeLTE applies the LTE predicate on the "countryCode" field.

func CountryCodeNEQ

func CountryCodeNEQ(v string) predicate.Member

CountryCodeNEQ applies the NEQ predicate on the "countryCode" field.

func CountryCodeNotIn

func CountryCodeNotIn(vs ...string) predicate.Member

CountryCodeNotIn applies the NotIn predicate on the "countryCode" field.

func CountryCodeNotNil

func CountryCodeNotNil() predicate.Member

CountryCodeNotNil applies the NotNil predicate on the "countryCode" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Member

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Member

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Member

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Member

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Member

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Member

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Member

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Member

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Member

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func HasCompanies

func HasCompanies() predicate.Member

HasCompanies applies the HasEdge predicate on the "companies" edge.

func HasCompaniesWith

func HasCompaniesWith(preds ...predicate.Company) predicate.Member

HasCompaniesWith applies the HasEdge predicate on the "companies" edge with a given conditions (other predicates).

func HasDevices

func HasDevices() predicate.Member

HasDevices applies the HasEdge predicate on the "devices" edge.

func HasDevicesWith

func HasDevicesWith(preds ...predicate.Device) predicate.Member

HasDevicesWith applies the HasEdge predicate on the "devices" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.Member

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Member

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Member

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Member

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Member

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Member

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Member

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Member

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Member

IDNotIn applies the NotIn predicate on the ID field.

func Mobile

func Mobile(v string) predicate.Member

Mobile applies equality check predicate on the "mobile" field. It's identical to MobileEQ.

func MobileContains

func MobileContains(v string) predicate.Member

MobileContains applies the Contains predicate on the "mobile" field.

func MobileContainsFold

func MobileContainsFold(v string) predicate.Member

MobileContainsFold applies the ContainsFold predicate on the "mobile" field.

func MobileEQ

func MobileEQ(v string) predicate.Member

MobileEQ applies the EQ predicate on the "mobile" field.

func MobileEqualFold

func MobileEqualFold(v string) predicate.Member

MobileEqualFold applies the EqualFold predicate on the "mobile" field.

func MobileGT

func MobileGT(v string) predicate.Member

MobileGT applies the GT predicate on the "mobile" field.

func MobileGTE

func MobileGTE(v string) predicate.Member

MobileGTE applies the GTE predicate on the "mobile" field.

func MobileHasPrefix

func MobileHasPrefix(v string) predicate.Member

MobileHasPrefix applies the HasPrefix predicate on the "mobile" field.

func MobileHasSuffix

func MobileHasSuffix(v string) predicate.Member

MobileHasSuffix applies the HasSuffix predicate on the "mobile" field.

func MobileIn

func MobileIn(vs ...string) predicate.Member

MobileIn applies the In predicate on the "mobile" field.

func MobileLT

func MobileLT(v string) predicate.Member

MobileLT applies the LT predicate on the "mobile" field.

func MobileLTE

func MobileLTE(v string) predicate.Member

MobileLTE applies the LTE predicate on the "mobile" field.

func MobileNEQ

func MobileNEQ(v string) predicate.Member

MobileNEQ applies the NEQ predicate on the "mobile" field.

func MobileNotIn

func MobileNotIn(vs ...string) predicate.Member

MobileNotIn applies the NotIn predicate on the "mobile" field.

func Name

func Name(v string) predicate.Member

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Member

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Member

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Member

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Member

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Member

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Member

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Member

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Member

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Member

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Member

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Member

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Member

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Member

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Member) predicate.Member

Or groups predicates with the OR operator between them.

func Password

func Password(v string) predicate.Member

Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.

func PasswordContains

func PasswordContains(v string) predicate.Member

PasswordContains applies the Contains predicate on the "password" field.

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.Member

PasswordContainsFold applies the ContainsFold predicate on the "password" field.

func PasswordEQ

func PasswordEQ(v string) predicate.Member

PasswordEQ applies the EQ predicate on the "password" field.

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.Member

PasswordEqualFold applies the EqualFold predicate on the "password" field.

func PasswordGT

func PasswordGT(v string) predicate.Member

PasswordGT applies the GT predicate on the "password" field.

func PasswordGTE

func PasswordGTE(v string) predicate.Member

PasswordGTE applies the GTE predicate on the "password" field.

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.Member

PasswordHasPrefix applies the HasPrefix predicate on the "password" field.

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.Member

PasswordHasSuffix applies the HasSuffix predicate on the "password" field.

func PasswordIn

func PasswordIn(vs ...string) predicate.Member

PasswordIn applies the In predicate on the "password" field.

func PasswordLT

func PasswordLT(v string) predicate.Member

PasswordLT applies the LT predicate on the "password" field.

func PasswordLTE

func PasswordLTE(v string) predicate.Member

PasswordLTE applies the LTE predicate on the "password" field.

func PasswordNEQ

func PasswordNEQ(v string) predicate.Member

PasswordNEQ applies the NEQ predicate on the "password" field.

func PasswordNotIn

func PasswordNotIn(vs ...string) predicate.Member

PasswordNotIn applies the NotIn predicate on the "password" field.

func Sort

func Sort(v uint32) predicate.Member

Sort applies equality check predicate on the "sort" field. It's identical to SortEQ.

func SortEQ

func SortEQ(v uint32) predicate.Member

SortEQ applies the EQ predicate on the "sort" field.

func SortGT

func SortGT(v uint32) predicate.Member

SortGT applies the GT predicate on the "sort" field.

func SortGTE

func SortGTE(v uint32) predicate.Member

SortGTE applies the GTE predicate on the "sort" field.

func SortIn

func SortIn(vs ...uint32) predicate.Member

SortIn applies the In predicate on the "sort" field.

func SortLT

func SortLT(v uint32) predicate.Member

SortLT applies the LT predicate on the "sort" field.

func SortLTE

func SortLTE(v uint32) predicate.Member

SortLTE applies the LTE predicate on the "sort" field.

func SortNEQ

func SortNEQ(v uint32) predicate.Member

SortNEQ applies the NEQ predicate on the "sort" field.

func SortNotIn

func SortNotIn(vs ...uint32) predicate.Member

SortNotIn applies the NotIn predicate on the "sort" field.

func Status

func Status(v uint8) predicate.Member

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v uint8) predicate.Member

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v uint8) predicate.Member

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v uint8) predicate.Member

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...uint8) predicate.Member

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.Member

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v uint8) predicate.Member

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v uint8) predicate.Member

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v uint8) predicate.Member

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...uint8) predicate.Member

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.Member

StatusNotNil applies the NotNil predicate on the "status" field.

func Type

func Type(v int32) predicate.Member

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeEQ

func TypeEQ(v int32) predicate.Member

TypeEQ applies the EQ predicate on the "type" field.

func TypeGT

func TypeGT(v int32) predicate.Member

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v int32) predicate.Member

TypeGTE applies the GTE predicate on the "type" field.

func TypeIn

func TypeIn(vs ...int32) predicate.Member

TypeIn applies the In predicate on the "type" field.

func TypeIsNil

func TypeIsNil() predicate.Member

TypeIsNil applies the IsNil predicate on the "type" field.

func TypeLT

func TypeLT(v int32) predicate.Member

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v int32) predicate.Member

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v int32) predicate.Member

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...int32) predicate.Member

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeNotNil

func TypeNotNil() predicate.Member

TypeNotNil applies the NotNil predicate on the "type" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Member

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Member

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Member

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Member

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Member

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Member

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Member

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Member

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Member

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL