member

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 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"
	// FieldSn holds the string denoting the sn field in the database.
	FieldSn = "sn"
	// FieldNickname holds the string denoting the nickname field in the database.
	FieldNickname = "nickname"
	// FieldPhone holds the string denoting the phone field in the database.
	FieldPhone = "phone"
	// FieldPassword holds the string denoting the password field in the database.
	FieldPassword = "password"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldSignature holds the string denoting the signature field in the database.
	FieldSignature = "signature"
	// FieldLastPwdAuth holds the string denoting the last_pwd_auth field in the database.
	FieldLastPwdAuth = "last_pwd_auth"
	// FieldGroupID holds the string denoting the group_id field in the database.
	FieldGroupID = "group_id"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// FieldUpdateTime holds the string denoting the update_time field in the database.
	FieldUpdateTime = "update_time"
	// FieldDeleteTime holds the string denoting the delete_time field in the database.
	FieldDeleteTime = "delete_time"
	// EdgeMemberGroup holds the string denoting the member_group edge name in mutations.
	EdgeMemberGroup = "member_group"
	// EdgeMemberEmails holds the string denoting the member_emails edge name in mutations.
	EdgeMemberEmails = "member_emails"
	// EdgeMemberSettings holds the string denoting the member_settings edge name in mutations.
	EdgeMemberSettings = "member_settings"
	// EdgeMemberSecurityLogs holds the string denoting the member_security_logs edge name in mutations.
	EdgeMemberSecurityLogs = "member_security_logs"
	// EdgeMemberSnippets holds the string denoting the member_snippets edge name in mutations.
	EdgeMemberSnippets = "member_snippets"
	// EdgeMemberSnippetFolders holds the string denoting the member_snippet_folders edge name in mutations.
	EdgeMemberSnippetFolders = "member_snippet_folders"
	// EdgeMemberSnippetTags holds the string denoting the member_snippet_tags edge name in mutations.
	EdgeMemberSnippetTags = "member_snippet_tags"
	// EdgeMemberSnippetDocs holds the string denoting the member_snippet_docs edge name in mutations.
	EdgeMemberSnippetDocs = "member_snippet_docs"
	// Table holds the table name of the member in the database.
	Table = "member"
	// MemberGroupTable is the table that holds the member_group relation/edge.
	MemberGroupTable = "member"
	// MemberGroupInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	MemberGroupInverseTable = "member_group"
	// MemberGroupColumn is the table column denoting the member_group relation/edge.
	MemberGroupColumn = "group_id"
	// MemberEmailsTable is the table that holds the member_emails relation/edge.
	MemberEmailsTable = "member_email"
	// MemberEmailsInverseTable is the table name for the MemberEmail entity.
	// It exists in this package in order to avoid circular dependency with the "memberemail" package.
	MemberEmailsInverseTable = "member_email"
	// MemberEmailsColumn is the table column denoting the member_emails relation/edge.
	MemberEmailsColumn = "owner_id"
	// MemberSettingsTable is the table that holds the member_settings relation/edge.
	MemberSettingsTable = "member_setting"
	// MemberSettingsInverseTable is the table name for the MemberSetting entity.
	// It exists in this package in order to avoid circular dependency with the "membersetting" package.
	MemberSettingsInverseTable = "member_setting"
	// MemberSettingsColumn is the table column denoting the member_settings relation/edge.
	MemberSettingsColumn = "owner_id"
	// MemberSecurityLogsTable is the table that holds the member_security_logs relation/edge.
	MemberSecurityLogsTable = "member_security_log"
	// MemberSecurityLogsInverseTable is the table name for the MemberSecurityLog entity.
	// It exists in this package in order to avoid circular dependency with the "membersecuritylog" package.
	MemberSecurityLogsInverseTable = "member_security_log"
	// MemberSecurityLogsColumn is the table column denoting the member_security_logs relation/edge.
	MemberSecurityLogsColumn = "owner_id"
	// MemberSnippetsTable is the table that holds the member_snippets relation/edge.
	MemberSnippetsTable = "snippets"
	// MemberSnippetsInverseTable is the table name for the Snippet entity.
	// It exists in this package in order to avoid circular dependency with the "snippet" package.
	MemberSnippetsInverseTable = "snippets"
	// MemberSnippetsColumn is the table column denoting the member_snippets relation/edge.
	MemberSnippetsColumn = "member_member_snippets"
	// MemberSnippetFoldersTable is the table that holds the member_snippet_folders relation/edge.
	MemberSnippetFoldersTable = "snippet_folders"
	// MemberSnippetFoldersInverseTable is the table name for the SnippetFolder entity.
	// It exists in this package in order to avoid circular dependency with the "snippetfolder" package.
	MemberSnippetFoldersInverseTable = "snippet_folders"
	// MemberSnippetFoldersColumn is the table column denoting the member_snippet_folders relation/edge.
	MemberSnippetFoldersColumn = "member_member_snippet_folders"
	// MemberSnippetTagsTable is the table that holds the member_snippet_tags relation/edge.
	MemberSnippetTagsTable = "snippet_tags"
	// MemberSnippetTagsInverseTable is the table name for the SnippetTag entity.
	// It exists in this package in order to avoid circular dependency with the "snippettag" package.
	MemberSnippetTagsInverseTable = "snippet_tags"
	// MemberSnippetTagsColumn is the table column denoting the member_snippet_tags relation/edge.
	MemberSnippetTagsColumn = "member_member_snippet_tags"
	// MemberSnippetDocsTable is the table that holds the member_snippet_docs relation/edge.
	MemberSnippetDocsTable = "snippet_docs"
	// MemberSnippetDocsInverseTable is the table name for the SnippetDocument entity.
	// It exists in this package in order to avoid circular dependency with the "snippetdocument" package.
	MemberSnippetDocsInverseTable = "snippet_docs"
	// MemberSnippetDocsColumn is the table column denoting the member_snippet_docs relation/edge.
	MemberSnippetDocsColumn = "member_member_snippet_docs"
)

Variables

View Source
var (
	// DefaultSn holds the default value on creation for the "sn" field.
	DefaultSn func() string
	// SnValidator is a validator for the "sn" field. It is called by the builders before save.
	SnValidator func(string) error
	// NicknameValidator is a validator for the "nickname" field. It is called by the builders before save.
	NicknameValidator func(string) error
	// PhoneValidator is a validator for the "phone" field. It is called by the builders before save.
	PhoneValidator func(string) error
	// PasswordValidator is a validator for the "password" field. It is called by the builders before save.
	PasswordValidator func(string) error
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
	// DefaultUpdateTime holds the default value on creation for the "update_time" field.
	DefaultUpdateTime func() time.Time
	// UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
	UpdateDefaultUpdateTime func() time.Time
)

Columns holds all SQL columns for member fields.

Functions

func And

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

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.Member

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.Member

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.Member

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.Member

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

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

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.Member

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.Member

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.Member

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

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

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func DeleteTime

func DeleteTime(v time.Time) predicate.Member

DeleteTime applies equality check predicate on the "delete_time" field. It's identical to DeleteTimeEQ.

func DeleteTimeEQ

func DeleteTimeEQ(v time.Time) predicate.Member

DeleteTimeEQ applies the EQ predicate on the "delete_time" field.

func DeleteTimeGT

func DeleteTimeGT(v time.Time) predicate.Member

DeleteTimeGT applies the GT predicate on the "delete_time" field.

func DeleteTimeGTE

func DeleteTimeGTE(v time.Time) predicate.Member

DeleteTimeGTE applies the GTE predicate on the "delete_time" field.

func DeleteTimeIn

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

DeleteTimeIn applies the In predicate on the "delete_time" field.

func DeleteTimeIsNil

func DeleteTimeIsNil() predicate.Member

DeleteTimeIsNil applies the IsNil predicate on the "delete_time" field.

func DeleteTimeLT

func DeleteTimeLT(v time.Time) predicate.Member

DeleteTimeLT applies the LT predicate on the "delete_time" field.

func DeleteTimeLTE

func DeleteTimeLTE(v time.Time) predicate.Member

DeleteTimeLTE applies the LTE predicate on the "delete_time" field.

func DeleteTimeNEQ

func DeleteTimeNEQ(v time.Time) predicate.Member

DeleteTimeNEQ applies the NEQ predicate on the "delete_time" field.

func DeleteTimeNotIn

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

DeleteTimeNotIn applies the NotIn predicate on the "delete_time" field.

func DeleteTimeNotNil

func DeleteTimeNotNil() predicate.Member

DeleteTimeNotNil applies the NotNil predicate on the "delete_time" field.

func GroupID added in v1.0.2

func GroupID(v int) predicate.Member

GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.

func GroupIDEQ added in v1.0.2

func GroupIDEQ(v int) predicate.Member

GroupIDEQ applies the EQ predicate on the "group_id" field.

func GroupIDIn added in v1.0.2

func GroupIDIn(vs ...int) predicate.Member

GroupIDIn applies the In predicate on the "group_id" field.

func GroupIDIsNil added in v1.0.2

func GroupIDIsNil() predicate.Member

GroupIDIsNil applies the IsNil predicate on the "group_id" field.

func GroupIDNEQ added in v1.0.2

func GroupIDNEQ(v int) predicate.Member

GroupIDNEQ applies the NEQ predicate on the "group_id" field.

func GroupIDNotIn added in v1.0.2

func GroupIDNotIn(vs ...int) predicate.Member

GroupIDNotIn applies the NotIn predicate on the "group_id" field.

func GroupIDNotNil added in v1.0.2

func GroupIDNotNil() predicate.Member

GroupIDNotNil applies the NotNil predicate on the "group_id" field.

func HasMemberEmails added in v1.0.8

func HasMemberEmails() predicate.Member

HasMemberEmails applies the HasEdge predicate on the "member_emails" edge.

func HasMemberEmailsWith added in v1.0.8

func HasMemberEmailsWith(preds ...predicate.MemberEmail) predicate.Member

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

func HasMemberGroup added in v1.0.10

func HasMemberGroup() predicate.Member

HasMemberGroup applies the HasEdge predicate on the "member_group" edge.

func HasMemberGroupWith added in v1.0.10

func HasMemberGroupWith(preds ...predicate.Group) predicate.Member

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

func HasMemberSecurityLogs added in v1.0.10

func HasMemberSecurityLogs() predicate.Member

HasMemberSecurityLogs applies the HasEdge predicate on the "member_security_logs" edge.

func HasMemberSecurityLogsWith added in v1.0.10

func HasMemberSecurityLogsWith(preds ...predicate.MemberSecurityLog) predicate.Member

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

func HasMemberSettings added in v1.0.8

func HasMemberSettings() predicate.Member

HasMemberSettings applies the HasEdge predicate on the "member_settings" edge.

func HasMemberSettingsWith added in v1.0.8

func HasMemberSettingsWith(preds ...predicate.MemberSetting) predicate.Member

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

func HasMemberSnippetDocs added in v1.0.9

func HasMemberSnippetDocs() predicate.Member

HasMemberSnippetDocs applies the HasEdge predicate on the "member_snippet_docs" edge.

func HasMemberSnippetDocsWith added in v1.0.9

func HasMemberSnippetDocsWith(preds ...predicate.SnippetDocument) predicate.Member

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

func HasMemberSnippetFolders added in v1.0.9

func HasMemberSnippetFolders() predicate.Member

HasMemberSnippetFolders applies the HasEdge predicate on the "member_snippet_folders" edge.

func HasMemberSnippetFoldersWith added in v1.0.9

func HasMemberSnippetFoldersWith(preds ...predicate.SnippetFolder) predicate.Member

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

func HasMemberSnippetTags added in v1.0.9

func HasMemberSnippetTags() predicate.Member

HasMemberSnippetTags applies the HasEdge predicate on the "member_snippet_tags" edge.

func HasMemberSnippetTagsWith added in v1.0.9

func HasMemberSnippetTagsWith(preds ...predicate.SnippetTag) predicate.Member

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

func HasMemberSnippets added in v1.0.9

func HasMemberSnippets() predicate.Member

HasMemberSnippets applies the HasEdge predicate on the "member_snippets" edge.

func HasMemberSnippetsWith added in v1.0.9

func HasMemberSnippetsWith(preds ...predicate.Snippet) predicate.Member

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

func ID

func ID(id int) predicate.Member

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Member

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Member

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Member

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Member

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Member

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Member

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Member

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Member

IDNotIn applies the NotIn predicate on the ID field.

func LastPwdAuth

func LastPwdAuth(v time.Time) predicate.Member

LastPwdAuth applies equality check predicate on the "last_pwd_auth" field. It's identical to LastPwdAuthEQ.

func LastPwdAuthEQ

func LastPwdAuthEQ(v time.Time) predicate.Member

LastPwdAuthEQ applies the EQ predicate on the "last_pwd_auth" field.

func LastPwdAuthGT

func LastPwdAuthGT(v time.Time) predicate.Member

LastPwdAuthGT applies the GT predicate on the "last_pwd_auth" field.

func LastPwdAuthGTE

func LastPwdAuthGTE(v time.Time) predicate.Member

LastPwdAuthGTE applies the GTE predicate on the "last_pwd_auth" field.

func LastPwdAuthIn

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

LastPwdAuthIn applies the In predicate on the "last_pwd_auth" field.

func LastPwdAuthIsNil

func LastPwdAuthIsNil() predicate.Member

LastPwdAuthIsNil applies the IsNil predicate on the "last_pwd_auth" field.

func LastPwdAuthLT

func LastPwdAuthLT(v time.Time) predicate.Member

LastPwdAuthLT applies the LT predicate on the "last_pwd_auth" field.

func LastPwdAuthLTE

func LastPwdAuthLTE(v time.Time) predicate.Member

LastPwdAuthLTE applies the LTE predicate on the "last_pwd_auth" field.

func LastPwdAuthNEQ

func LastPwdAuthNEQ(v time.Time) predicate.Member

LastPwdAuthNEQ applies the NEQ predicate on the "last_pwd_auth" field.

func LastPwdAuthNotIn

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

LastPwdAuthNotIn applies the NotIn predicate on the "last_pwd_auth" field.

func LastPwdAuthNotNil

func LastPwdAuthNotNil() predicate.Member

LastPwdAuthNotNil applies the NotNil predicate on the "last_pwd_auth" field.

func Nickname

func Nickname(v string) predicate.Member

Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.

func NicknameContains

func NicknameContains(v string) predicate.Member

NicknameContains applies the Contains predicate on the "nickname" field.

func NicknameContainsFold

func NicknameContainsFold(v string) predicate.Member

NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.

func NicknameEQ

func NicknameEQ(v string) predicate.Member

NicknameEQ applies the EQ predicate on the "nickname" field.

func NicknameEqualFold

func NicknameEqualFold(v string) predicate.Member

NicknameEqualFold applies the EqualFold predicate on the "nickname" field.

func NicknameGT

func NicknameGT(v string) predicate.Member

NicknameGT applies the GT predicate on the "nickname" field.

func NicknameGTE

func NicknameGTE(v string) predicate.Member

NicknameGTE applies the GTE predicate on the "nickname" field.

func NicknameHasPrefix

func NicknameHasPrefix(v string) predicate.Member

NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.

func NicknameHasSuffix

func NicknameHasSuffix(v string) predicate.Member

NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.

func NicknameIn

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

NicknameIn applies the In predicate on the "nickname" field.

func NicknameLT

func NicknameLT(v string) predicate.Member

NicknameLT applies the LT predicate on the "nickname" field.

func NicknameLTE

func NicknameLTE(v string) predicate.Member

NicknameLTE applies the LTE predicate on the "nickname" field.

func NicknameNEQ

func NicknameNEQ(v string) predicate.Member

NicknameNEQ applies the NEQ predicate on the "nickname" field.

func NicknameNotIn

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

NicknameNotIn applies the NotIn predicate on the "nickname" 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 PasswordIsNil added in v1.0.4

func PasswordIsNil() predicate.Member

PasswordIsNil applies the IsNil 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 PasswordNotNil added in v1.0.4

func PasswordNotNil() predicate.Member

PasswordNotNil applies the NotNil predicate on the "password" field.

func Phone

func Phone(v string) predicate.Member

Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.

func PhoneContains

func PhoneContains(v string) predicate.Member

PhoneContains applies the Contains predicate on the "phone" field.

func PhoneContainsFold

func PhoneContainsFold(v string) predicate.Member

PhoneContainsFold applies the ContainsFold predicate on the "phone" field.

func PhoneEQ

func PhoneEQ(v string) predicate.Member

PhoneEQ applies the EQ predicate on the "phone" field.

func PhoneEqualFold

func PhoneEqualFold(v string) predicate.Member

PhoneEqualFold applies the EqualFold predicate on the "phone" field.

func PhoneGT

func PhoneGT(v string) predicate.Member

PhoneGT applies the GT predicate on the "phone" field.

func PhoneGTE

func PhoneGTE(v string) predicate.Member

PhoneGTE applies the GTE predicate on the "phone" field.

func PhoneHasPrefix

func PhoneHasPrefix(v string) predicate.Member

PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.

func PhoneHasSuffix

func PhoneHasSuffix(v string) predicate.Member

PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.

func PhoneIn

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

PhoneIn applies the In predicate on the "phone" field.

func PhoneIsNil

func PhoneIsNil() predicate.Member

PhoneIsNil applies the IsNil predicate on the "phone" field.

func PhoneLT

func PhoneLT(v string) predicate.Member

PhoneLT applies the LT predicate on the "phone" field.

func PhoneLTE

func PhoneLTE(v string) predicate.Member

PhoneLTE applies the LTE predicate on the "phone" field.

func PhoneNEQ

func PhoneNEQ(v string) predicate.Member

PhoneNEQ applies the NEQ predicate on the "phone" field.

func PhoneNotIn

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

PhoneNotIn applies the NotIn predicate on the "phone" field.

func PhoneNotNil

func PhoneNotNil() predicate.Member

PhoneNotNil applies the NotNil predicate on the "phone" field.

func Signature

func Signature(v string) predicate.Member

Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.

func SignatureContains

func SignatureContains(v string) predicate.Member

SignatureContains applies the Contains predicate on the "signature" field.

func SignatureContainsFold

func SignatureContainsFold(v string) predicate.Member

SignatureContainsFold applies the ContainsFold predicate on the "signature" field.

func SignatureEQ

func SignatureEQ(v string) predicate.Member

SignatureEQ applies the EQ predicate on the "signature" field.

func SignatureEqualFold

func SignatureEqualFold(v string) predicate.Member

SignatureEqualFold applies the EqualFold predicate on the "signature" field.

func SignatureGT

func SignatureGT(v string) predicate.Member

SignatureGT applies the GT predicate on the "signature" field.

func SignatureGTE

func SignatureGTE(v string) predicate.Member

SignatureGTE applies the GTE predicate on the "signature" field.

func SignatureHasPrefix

func SignatureHasPrefix(v string) predicate.Member

SignatureHasPrefix applies the HasPrefix predicate on the "signature" field.

func SignatureHasSuffix

func SignatureHasSuffix(v string) predicate.Member

SignatureHasSuffix applies the HasSuffix predicate on the "signature" field.

func SignatureIn

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

SignatureIn applies the In predicate on the "signature" field.

func SignatureLT

func SignatureLT(v string) predicate.Member

SignatureLT applies the LT predicate on the "signature" field.

func SignatureLTE

func SignatureLTE(v string) predicate.Member

SignatureLTE applies the LTE predicate on the "signature" field.

func SignatureNEQ

func SignatureNEQ(v string) predicate.Member

SignatureNEQ applies the NEQ predicate on the "signature" field.

func SignatureNotIn

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

SignatureNotIn applies the NotIn predicate on the "signature" field.

func Sn added in v1.0.2

func Sn(v string) predicate.Member

Sn applies equality check predicate on the "sn" field. It's identical to SnEQ.

func SnContains added in v1.0.2

func SnContains(v string) predicate.Member

SnContains applies the Contains predicate on the "sn" field.

func SnContainsFold added in v1.0.2

func SnContainsFold(v string) predicate.Member

SnContainsFold applies the ContainsFold predicate on the "sn" field.

func SnEQ added in v1.0.2

func SnEQ(v string) predicate.Member

SnEQ applies the EQ predicate on the "sn" field.

func SnEqualFold added in v1.0.2

func SnEqualFold(v string) predicate.Member

SnEqualFold applies the EqualFold predicate on the "sn" field.

func SnGT added in v1.0.2

func SnGT(v string) predicate.Member

SnGT applies the GT predicate on the "sn" field.

func SnGTE added in v1.0.2

func SnGTE(v string) predicate.Member

SnGTE applies the GTE predicate on the "sn" field.

func SnHasPrefix added in v1.0.2

func SnHasPrefix(v string) predicate.Member

SnHasPrefix applies the HasPrefix predicate on the "sn" field.

func SnHasSuffix added in v1.0.2

func SnHasSuffix(v string) predicate.Member

SnHasSuffix applies the HasSuffix predicate on the "sn" field.

func SnIn added in v1.0.2

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

SnIn applies the In predicate on the "sn" field.

func SnLT added in v1.0.2

func SnLT(v string) predicate.Member

SnLT applies the LT predicate on the "sn" field.

func SnLTE added in v1.0.2

func SnLTE(v string) predicate.Member

SnLTE applies the LTE predicate on the "sn" field.

func SnNEQ added in v1.0.2

func SnNEQ(v string) predicate.Member

SnNEQ applies the NEQ predicate on the "sn" field.

func SnNotIn added in v1.0.2

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

SnNotIn applies the NotIn predicate on the "sn" field.

func StatusEQ

func StatusEQ(v Status) predicate.Member

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

func StatusIn

func StatusIn(vs ...Status) 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 StatusNEQ

func StatusNEQ(v Status) predicate.Member

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

func StatusNotIn

func StatusNotIn(vs ...Status) 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 StatusValidator

func StatusValidator(s Status) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func UpdateTime

func UpdateTime(v time.Time) predicate.Member

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.Member

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.Member

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.Member

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn

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

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.Member

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.Member

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.Member

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn

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

UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusBLACKLIST Status = "BLACKLIST"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

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