Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Member) 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 Email(v string) predicate.Member
- func EmailContains(v string) predicate.Member
- func EmailContainsFold(v string) predicate.Member
- func EmailEQ(v string) predicate.Member
- func EmailEqualFold(v string) predicate.Member
- func EmailGT(v string) predicate.Member
- func EmailGTE(v string) predicate.Member
- func EmailHasPrefix(v string) predicate.Member
- func EmailHasSuffix(v string) predicate.Member
- func EmailIn(vs ...string) predicate.Member
- func EmailLT(v string) predicate.Member
- func EmailLTE(v string) predicate.Member
- func EmailNEQ(v string) predicate.Member
- func EmailNotIn(vs ...string) predicate.Member
- func Gender(v int) predicate.Member
- func GenderEQ(v int) predicate.Member
- func GenderGT(v int) predicate.Member
- func GenderGTE(v int) predicate.Member
- func GenderIn(vs ...int) predicate.Member
- func GenderIsNil() predicate.Member
- func GenderLT(v int) predicate.Member
- func GenderLTE(v int) predicate.Member
- func GenderNEQ(v int) predicate.Member
- func GenderNotIn(vs ...int) predicate.Member
- func GenderNotNil() predicate.Member
- func Gid(v uuid.UUID) predicate.Member
- func GidEQ(v uuid.UUID) predicate.Member
- func GidGT(v uuid.UUID) predicate.Member
- func GidGTE(v uuid.UUID) predicate.Member
- func GidIn(vs ...uuid.UUID) predicate.Member
- func GidLT(v uuid.UUID) predicate.Member
- func GidLTE(v uuid.UUID) predicate.Member
- func GidNEQ(v uuid.UUID) predicate.Member
- func GidNotIn(vs ...uuid.UUID) predicate.Member
- func HasLoginLogs() predicate.Member
- func HasLoginLogsWith(preds ...predicate.MemberLoginLog) predicate.Member
- func HasNoteArticles() predicate.Member
- func HasNoteArticlesWith(preds ...predicate.NoteArticle) predicate.Member
- func HasNoteFilesystem() predicate.Member
- func HasNoteFilesystemWith(preds ...predicate.NoteFilesystem) predicate.Member
- func ID(id int) predicate.Member
- func IDEQ(id int) predicate.Member
- func IDGT(id int) predicate.Member
- func IDGTE(id int) predicate.Member
- func IDIn(ids ...int) predicate.Member
- func IDLT(id int) predicate.Member
- func IDLTE(id int) predicate.Member
- func IDNEQ(id int) predicate.Member
- func IDNotIn(ids ...int) predicate.Member
- func Nickname(v string) predicate.Member
- func NicknameContains(v string) predicate.Member
- func NicknameContainsFold(v string) predicate.Member
- func NicknameEQ(v string) predicate.Member
- func NicknameEqualFold(v string) predicate.Member
- func NicknameGT(v string) predicate.Member
- func NicknameGTE(v string) predicate.Member
- func NicknameHasPrefix(v string) predicate.Member
- func NicknameHasSuffix(v string) predicate.Member
- func NicknameIn(vs ...string) predicate.Member
- func NicknameLT(v string) predicate.Member
- func NicknameLTE(v string) predicate.Member
- func NicknameNEQ(v string) predicate.Member
- func NicknameNotIn(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 Signature(v string) predicate.Member
- func SignatureContains(v string) predicate.Member
- func SignatureContainsFold(v string) predicate.Member
- func SignatureEQ(v string) predicate.Member
- func SignatureEqualFold(v string) predicate.Member
- func SignatureGT(v string) predicate.Member
- func SignatureGTE(v string) predicate.Member
- func SignatureHasPrefix(v string) predicate.Member
- func SignatureHasSuffix(v string) predicate.Member
- func SignatureIn(vs ...string) predicate.Member
- func SignatureLT(v string) predicate.Member
- func SignatureLTE(v string) predicate.Member
- func SignatureNEQ(v string) predicate.Member
- func SignatureNotIn(vs ...string) 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
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" // FieldGid holds the string denoting the gid field in the database. FieldGid = "gid" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldNickname holds the string denoting the nickname field in the database. FieldNickname = "nickname" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldGender holds the string denoting the gender field in the database. FieldGender = "gender" // FieldSignature holds the string denoting the signature field in the database. FieldSignature = "signature" // EdgeLoginLogs holds the string denoting the loginlogs edge name in mutations. EdgeLoginLogs = "loginLogs" // EdgeNoteArticles holds the string denoting the notearticles edge name in mutations. EdgeNoteArticles = "noteArticles" // EdgeNoteFilesystem holds the string denoting the notefilesystem edge name in mutations. EdgeNoteFilesystem = "noteFilesystem" // Table holds the table name of the member in the database. Table = "member" // LoginLogsTable is the table the holds the loginLogs relation/edge. LoginLogsTable = "member_login_log" // LoginLogsInverseTable is the table name for the MemberLoginLog entity. // It exists in this package in order to avoid circular dependency with the "memberloginlog" package. LoginLogsInverseTable = "member_login_log" // LoginLogsColumn is the table column denoting the loginLogs relation/edge. LoginLogsColumn = "member_login_logs" // NoteArticlesTable is the table the holds the noteArticles relation/edge. NoteArticlesTable = "note_articles" // NoteArticlesInverseTable is the table name for the NoteArticle entity. // It exists in this package in order to avoid circular dependency with the "notearticle" package. NoteArticlesInverseTable = "note_articles" // NoteArticlesColumn is the table column denoting the noteArticles relation/edge. NoteArticlesColumn = "member_note_articles" // NoteFilesystemTable is the table the holds the noteFilesystem relation/edge. NoteFilesystemTable = "note_filesystem" // NoteFilesystemInverseTable is the table name for the NoteFilesystem entity. // It exists in this package in order to avoid circular dependency with the "notefilesystem" package. NoteFilesystemInverseTable = "note_filesystem" // NoteFilesystemColumn is the table column denoting the noteFilesystem relation/edge. NoteFilesystemColumn = "member_note_filesystem" )
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 // DefaultGid holds the default value on creation for the gid field. DefaultGid func() uuid.UUID // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // NicknameValidator is a validator for the "nickname" field. It is called by the builders before save. NicknameValidator func(string) error // PasswordValidator is a validator for the "password" field. It is called by the builders before save. PasswordValidator func(string) error // DefaultGender holds the default value on creation for the gender field. DefaultGender int // SignatureValidator is a validator for the "signature" field. It is called by the builders before save. SignatureValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldGid, FieldEmail, FieldNickname, FieldPassword, FieldGender, FieldSignature, }
Columns holds all SQL columns for member fields.
Functions ¶
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 Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func Gender ¶
Gender applies equality check predicate on the "gender" field. It's identical to GenderEQ.
func GenderIsNil ¶
GenderIsNil applies the IsNil predicate on the "gender" field.
func GenderNotIn ¶
GenderNotIn applies the NotIn predicate on the "gender" field.
func GenderNotNil ¶
GenderNotNil applies the NotNil predicate on the "gender" field.
func HasLoginLogs ¶
HasLoginLogs applies the HasEdge predicate on the "loginLogs" edge.
func HasLoginLogsWith ¶
func HasLoginLogsWith(preds ...predicate.MemberLoginLog) predicate.Member
HasLoginLogsWith applies the HasEdge predicate on the "loginLogs" edge with a given conditions (other predicates).
func HasNoteArticles ¶
HasNoteArticles applies the HasEdge predicate on the "noteArticles" edge.
func HasNoteArticlesWith ¶
func HasNoteArticlesWith(preds ...predicate.NoteArticle) predicate.Member
HasNoteArticlesWith applies the HasEdge predicate on the "noteArticles" edge with a given conditions (other predicates).
func HasNoteFilesystem ¶
HasNoteFilesystem applies the HasEdge predicate on the "noteFilesystem" edge.
func HasNoteFilesystemWith ¶
func HasNoteFilesystemWith(preds ...predicate.NoteFilesystem) predicate.Member
HasNoteFilesystemWith applies the HasEdge predicate on the "noteFilesystem" edge with a given conditions (other predicates).
func Nickname ¶
Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
func NicknameContains ¶
NicknameContains applies the Contains predicate on the "nickname" field.
func NicknameContainsFold ¶
NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
func NicknameEQ ¶
NicknameEQ applies the EQ predicate on the "nickname" field.
func NicknameEqualFold ¶
NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
func NicknameGT ¶
NicknameGT applies the GT predicate on the "nickname" field.
func NicknameGTE ¶
NicknameGTE applies the GTE predicate on the "nickname" field.
func NicknameHasPrefix ¶
NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
func NicknameHasSuffix ¶
NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
func NicknameIn ¶
NicknameIn applies the In predicate on the "nickname" field.
func NicknameLT ¶
NicknameLT applies the LT predicate on the "nickname" field.
func NicknameLTE ¶
NicknameLTE applies the LTE predicate on the "nickname" field.
func NicknameNEQ ¶
NicknameNEQ applies the NEQ predicate on the "nickname" field.
func NicknameNotIn ¶
NicknameNotIn applies the NotIn predicate on the "nickname" 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 Signature ¶
Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.
func SignatureContains ¶
SignatureContains applies the Contains predicate on the "signature" field.
func SignatureContainsFold ¶
SignatureContainsFold applies the ContainsFold predicate on the "signature" field.
func SignatureEQ ¶
SignatureEQ applies the EQ predicate on the "signature" field.
func SignatureEqualFold ¶
SignatureEqualFold applies the EqualFold predicate on the "signature" field.
func SignatureGT ¶
SignatureGT applies the GT predicate on the "signature" field.
func SignatureGTE ¶
SignatureGTE applies the GTE predicate on the "signature" field.
func SignatureHasPrefix ¶
SignatureHasPrefix applies the HasPrefix predicate on the "signature" field.
func SignatureHasSuffix ¶
SignatureHasSuffix applies the HasSuffix predicate on the "signature" field.
func SignatureIn ¶
SignatureIn applies the In predicate on the "signature" field.
func SignatureLT ¶
SignatureLT applies the LT predicate on the "signature" field.
func SignatureLTE ¶
SignatureLTE applies the LTE predicate on the "signature" field.
func SignatureNEQ ¶
SignatureNEQ applies the NEQ predicate on the "signature" field.
func SignatureNotIn ¶
SignatureNotIn applies the NotIn predicate on the "signature" 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 ¶
This section is empty.