Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Account) predicate.Account
- func AvatarURL(v string) predicate.Account
- func AvatarURLContains(v string) predicate.Account
- func AvatarURLContainsFold(v string) predicate.Account
- func AvatarURLEQ(v string) predicate.Account
- func AvatarURLEqualFold(v string) predicate.Account
- func AvatarURLGT(v string) predicate.Account
- func AvatarURLGTE(v string) predicate.Account
- func AvatarURLHasPrefix(v string) predicate.Account
- func AvatarURLHasSuffix(v string) predicate.Account
- func AvatarURLIn(vs ...string) predicate.Account
- func AvatarURLLT(v string) predicate.Account
- func AvatarURLLTE(v string) predicate.Account
- func AvatarURLNEQ(v string) predicate.Account
- func AvatarURLNotIn(vs ...string) predicate.Account
- func CreatedAt(v time.Time) predicate.Account
- func CreatedAtEQ(v time.Time) predicate.Account
- func CreatedAtGT(v time.Time) predicate.Account
- func CreatedAtGTE(v time.Time) predicate.Account
- func CreatedAtIn(vs ...time.Time) predicate.Account
- func CreatedAtLT(v time.Time) predicate.Account
- func CreatedAtLTE(v time.Time) predicate.Account
- func CreatedAtNEQ(v time.Time) predicate.Account
- func CreatedAtNotIn(vs ...time.Time) predicate.Account
- func ID(id int) predicate.Account
- func IDEQ(id int) predicate.Account
- func IDGT(id int) predicate.Account
- func IDGTE(id int) predicate.Account
- func IDIn(ids ...int) predicate.Account
- func IDLT(id int) predicate.Account
- func IDLTE(id int) predicate.Account
- func IDNEQ(id int) predicate.Account
- func IDNotIn(ids ...int) predicate.Account
- func InternalID(v int64) predicate.Account
- func InternalIDEQ(v int64) predicate.Account
- func InternalIDGT(v int64) predicate.Account
- func InternalIDGTE(v int64) predicate.Account
- func InternalIDIn(vs ...int64) predicate.Account
- func InternalIDLT(v int64) predicate.Account
- func InternalIDLTE(v int64) predicate.Account
- func InternalIDNEQ(v int64) predicate.Account
- func InternalIDNotIn(vs ...int64) predicate.Account
- func Name(v string) predicate.Account
- func NameContains(v string) predicate.Account
- func NameContainsFold(v string) predicate.Account
- func NameEQ(v string) predicate.Account
- func NameEqualFold(v string) predicate.Account
- func NameGT(v string) predicate.Account
- func NameGTE(v string) predicate.Account
- func NameHasPrefix(v string) predicate.Account
- func NameHasSuffix(v string) predicate.Account
- func NameIn(vs ...string) predicate.Account
- func NameLT(v string) predicate.Account
- func NameLTE(v string) predicate.Account
- func NameNEQ(v string) predicate.Account
- func NameNotIn(vs ...string) predicate.Account
- func Not(p predicate.Account) predicate.Account
- func Or(predicates ...predicate.Account) predicate.Account
- func PlatformAccountID(v string) predicate.Account
- func PlatformAccountIDContains(v string) predicate.Account
- func PlatformAccountIDContainsFold(v string) predicate.Account
- func PlatformAccountIDEQ(v string) predicate.Account
- func PlatformAccountIDEqualFold(v string) predicate.Account
- func PlatformAccountIDGT(v string) predicate.Account
- func PlatformAccountIDGTE(v string) predicate.Account
- func PlatformAccountIDHasPrefix(v string) predicate.Account
- func PlatformAccountIDHasSuffix(v string) predicate.Account
- func PlatformAccountIDIn(vs ...string) predicate.Account
- func PlatformAccountIDLT(v string) predicate.Account
- func PlatformAccountIDLTE(v string) predicate.Account
- func PlatformAccountIDNEQ(v string) predicate.Account
- func PlatformAccountIDNotIn(vs ...string) predicate.Account
- func PlatformEQ(v Platform) predicate.Account
- func PlatformIn(vs ...Platform) predicate.Account
- func PlatformNEQ(v Platform) predicate.Account
- func PlatformNotIn(vs ...Platform) predicate.Account
- func PlatformValidator(pl Platform) error
- func ProfileURL(v string) predicate.Account
- func ProfileURLContains(v string) predicate.Account
- func ProfileURLContainsFold(v string) predicate.Account
- func ProfileURLEQ(v string) predicate.Account
- func ProfileURLEqualFold(v string) predicate.Account
- func ProfileURLGT(v string) predicate.Account
- func ProfileURLGTE(v string) predicate.Account
- func ProfileURLHasPrefix(v string) predicate.Account
- func ProfileURLHasSuffix(v string) predicate.Account
- func ProfileURLIn(vs ...string) predicate.Account
- func ProfileURLLT(v string) predicate.Account
- func ProfileURLLTE(v string) predicate.Account
- func ProfileURLNEQ(v string) predicate.Account
- func ProfileURLNotIn(vs ...string) predicate.Account
- func UpdatedAt(v time.Time) predicate.Account
- func UpdatedAtEQ(v time.Time) predicate.Account
- func UpdatedAtGT(v time.Time) predicate.Account
- func UpdatedAtGTE(v time.Time) predicate.Account
- func UpdatedAtIn(vs ...time.Time) predicate.Account
- func UpdatedAtLT(v time.Time) predicate.Account
- func UpdatedAtLTE(v time.Time) predicate.Account
- func UpdatedAtNEQ(v time.Time) predicate.Account
- func UpdatedAtNotIn(vs ...time.Time) predicate.Account
- func ValidColumn(column string) bool
- type Platform
Constants ¶
const ( // Label holds the string label denoting the account type in the database. Label = "account" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldInternalID holds the string denoting the internal_id field in the database. FieldInternalID = "internal_id" // FieldPlatform holds the string denoting the platform field in the database. FieldPlatform = "platform" // FieldPlatformAccountID holds the string denoting the platform_account_id field in the database. FieldPlatformAccountID = "platform_account_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldProfileURL holds the string denoting the profile_url field in the database. FieldProfileURL = "profile_url" // FieldAvatarURL holds the string denoting the avatar_url field in the database. FieldAvatarURL = "avatar_url" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // Table holds the table name of the account in the database. Table = "accounts" )
Variables ¶
var ( // 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 // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldInternalID, FieldPlatform, FieldPlatformAccountID, FieldName, FieldProfileURL, FieldAvatarURL, FieldUpdatedAt, FieldCreatedAt, }
Columns holds all SQL columns for account fields.
Functions ¶
func AvatarURL ¶
AvatarURL applies equality check predicate on the "avatar_url" field. It's identical to AvatarURLEQ.
func AvatarURLContains ¶
AvatarURLContains applies the Contains predicate on the "avatar_url" field.
func AvatarURLContainsFold ¶
AvatarURLContainsFold applies the ContainsFold predicate on the "avatar_url" field.
func AvatarURLEQ ¶
AvatarURLEQ applies the EQ predicate on the "avatar_url" field.
func AvatarURLEqualFold ¶
AvatarURLEqualFold applies the EqualFold predicate on the "avatar_url" field.
func AvatarURLGT ¶
AvatarURLGT applies the GT predicate on the "avatar_url" field.
func AvatarURLGTE ¶
AvatarURLGTE applies the GTE predicate on the "avatar_url" field.
func AvatarURLHasPrefix ¶
AvatarURLHasPrefix applies the HasPrefix predicate on the "avatar_url" field.
func AvatarURLHasSuffix ¶
AvatarURLHasSuffix applies the HasSuffix predicate on the "avatar_url" field.
func AvatarURLIn ¶
AvatarURLIn applies the In predicate on the "avatar_url" field.
func AvatarURLLT ¶
AvatarURLLT applies the LT predicate on the "avatar_url" field.
func AvatarURLLTE ¶
AvatarURLLTE applies the LTE predicate on the "avatar_url" field.
func AvatarURLNEQ ¶
AvatarURLNEQ applies the NEQ predicate on the "avatar_url" field.
func AvatarURLNotIn ¶
AvatarURLNotIn applies the NotIn predicate on the "avatar_url" 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 InternalID ¶
InternalID applies equality check predicate on the "internal_id" field. It's identical to InternalIDEQ.
func InternalIDEQ ¶
InternalIDEQ applies the EQ predicate on the "internal_id" field.
func InternalIDGT ¶
InternalIDGT applies the GT predicate on the "internal_id" field.
func InternalIDGTE ¶
InternalIDGTE applies the GTE predicate on the "internal_id" field.
func InternalIDIn ¶
InternalIDIn applies the In predicate on the "internal_id" field.
func InternalIDLT ¶
InternalIDLT applies the LT predicate on the "internal_id" field.
func InternalIDLTE ¶
InternalIDLTE applies the LTE predicate on the "internal_id" field.
func InternalIDNEQ ¶
InternalIDNEQ applies the NEQ predicate on the "internal_id" field.
func InternalIDNotIn ¶
InternalIDNotIn applies the NotIn predicate on the "internal_id" 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 PlatformAccountID ¶
PlatformAccountID applies equality check predicate on the "platform_account_id" field. It's identical to PlatformAccountIDEQ.
func PlatformAccountIDContains ¶
PlatformAccountIDContains applies the Contains predicate on the "platform_account_id" field.
func PlatformAccountIDContainsFold ¶
PlatformAccountIDContainsFold applies the ContainsFold predicate on the "platform_account_id" field.
func PlatformAccountIDEQ ¶
PlatformAccountIDEQ applies the EQ predicate on the "platform_account_id" field.
func PlatformAccountIDEqualFold ¶
PlatformAccountIDEqualFold applies the EqualFold predicate on the "platform_account_id" field.
func PlatformAccountIDGT ¶
PlatformAccountIDGT applies the GT predicate on the "platform_account_id" field.
func PlatformAccountIDGTE ¶
PlatformAccountIDGTE applies the GTE predicate on the "platform_account_id" field.
func PlatformAccountIDHasPrefix ¶
PlatformAccountIDHasPrefix applies the HasPrefix predicate on the "platform_account_id" field.
func PlatformAccountIDHasSuffix ¶
PlatformAccountIDHasSuffix applies the HasSuffix predicate on the "platform_account_id" field.
func PlatformAccountIDIn ¶
PlatformAccountIDIn applies the In predicate on the "platform_account_id" field.
func PlatformAccountIDLT ¶
PlatformAccountIDLT applies the LT predicate on the "platform_account_id" field.
func PlatformAccountIDLTE ¶
PlatformAccountIDLTE applies the LTE predicate on the "platform_account_id" field.
func PlatformAccountIDNEQ ¶
PlatformAccountIDNEQ applies the NEQ predicate on the "platform_account_id" field.
func PlatformAccountIDNotIn ¶
PlatformAccountIDNotIn applies the NotIn predicate on the "platform_account_id" field.
func PlatformEQ ¶
PlatformEQ applies the EQ predicate on the "platform" field.
func PlatformIn ¶
PlatformIn applies the In predicate on the "platform" field.
func PlatformNEQ ¶
PlatformNEQ applies the NEQ predicate on the "platform" field.
func PlatformNotIn ¶
PlatformNotIn applies the NotIn predicate on the "platform" field.
func PlatformValidator ¶
PlatformValidator is a validator for the "platform" field enum values. It is called by the builders before save.
func ProfileURL ¶
ProfileURL applies equality check predicate on the "profile_url" field. It's identical to ProfileURLEQ.
func ProfileURLContains ¶
ProfileURLContains applies the Contains predicate on the "profile_url" field.
func ProfileURLContainsFold ¶
ProfileURLContainsFold applies the ContainsFold predicate on the "profile_url" field.
func ProfileURLEQ ¶
ProfileURLEQ applies the EQ predicate on the "profile_url" field.
func ProfileURLEqualFold ¶
ProfileURLEqualFold applies the EqualFold predicate on the "profile_url" field.
func ProfileURLGT ¶
ProfileURLGT applies the GT predicate on the "profile_url" field.
func ProfileURLGTE ¶
ProfileURLGTE applies the GTE predicate on the "profile_url" field.
func ProfileURLHasPrefix ¶
ProfileURLHasPrefix applies the HasPrefix predicate on the "profile_url" field.
func ProfileURLHasSuffix ¶
ProfileURLHasSuffix applies the HasSuffix predicate on the "profile_url" field.
func ProfileURLIn ¶
ProfileURLIn applies the In predicate on the "profile_url" field.
func ProfileURLLT ¶
ProfileURLLT applies the LT predicate on the "profile_url" field.
func ProfileURLLTE ¶
ProfileURLLTE applies the LTE predicate on the "profile_url" field.
func ProfileURLNEQ ¶
ProfileURLNEQ applies the NEQ predicate on the "profile_url" field.
func ProfileURLNotIn ¶
ProfileURLNotIn applies the NotIn predicate on the "profile_url" field.
func UpdatedAt ¶ added in v0.0.5
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶ added in v0.0.5
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶ added in v0.0.5
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶ added in v0.0.5
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶ added in v0.0.5
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶ added in v0.0.5
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶ added in v0.0.5
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶ added in v0.0.5
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶ added in v0.0.5
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).