// Code generated by ent, DO NOT EDIT. package gitidentity import ( "time" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/chaitin/MonkeyCode/backend/consts" "github.com/chaitin/MonkeyCode/backend/db/predicate" "github.com/google/uuid" ) // ID filters vertices based on their ID field. func ID(id uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLTE(FieldID, id)) } // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ. func DeletedAt(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldDeletedAt, v)) } // UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ. func UserID(v uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldUserID, v)) } // Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ. func Platform(v consts.GitPlatform) predicate.GitIdentity { vc := string(v) return predicate.GitIdentity(sql.FieldEQ(FieldPlatform, vc)) } // BaseURL applies equality check predicate on the "base_url" field. It's identical to BaseURLEQ. func BaseURL(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldBaseURL, v)) } // AccessToken applies equality check predicate on the "access_token" field. It's identical to AccessTokenEQ. func AccessToken(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldAccessToken, v)) } // Username applies equality check predicate on the "username" field. It's identical to UsernameEQ. func Username(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldUsername, v)) } // Email applies equality check predicate on the "email" field. It's identical to EmailEQ. func Email(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldEmail, v)) } // InstallationID applies equality check predicate on the "installation_id" field. It's identical to InstallationIDEQ. func InstallationID(v int64) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldInstallationID, v)) } // Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ. func Remark(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldRemark, v)) } // OauthRefreshToken applies equality check predicate on the "oauth_refresh_token" field. It's identical to OauthRefreshTokenEQ. func OauthRefreshToken(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldOauthRefreshToken, v)) } // OauthExpiresAt applies equality check predicate on the "oauth_expires_at" field. It's identical to OauthExpiresAtEQ. func OauthExpiresAt(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldOauthExpiresAt, v)) } // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ. func CreatedAt(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldCreatedAt, v)) } // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ. func UpdatedAt(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldUpdatedAt, v)) } // DeletedAtEQ applies the EQ predicate on the "deleted_at" field. func DeletedAtEQ(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldDeletedAt, v)) } // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field. func DeletedAtNEQ(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldDeletedAt, v)) } // DeletedAtIn applies the In predicate on the "deleted_at" field. func DeletedAtIn(vs ...time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldDeletedAt, vs...)) } // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field. func DeletedAtNotIn(vs ...time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldDeletedAt, vs...)) } // DeletedAtGT applies the GT predicate on the "deleted_at" field. func DeletedAtGT(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGT(FieldDeletedAt, v)) } // DeletedAtGTE applies the GTE predicate on the "deleted_at" field. func DeletedAtGTE(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGTE(FieldDeletedAt, v)) } // DeletedAtLT applies the LT predicate on the "deleted_at" field. func DeletedAtLT(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLT(FieldDeletedAt, v)) } // DeletedAtLTE applies the LTE predicate on the "deleted_at" field. func DeletedAtLTE(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLTE(FieldDeletedAt, v)) } // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field. func DeletedAtIsNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIsNull(FieldDeletedAt)) } // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field. func DeletedAtNotNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotNull(FieldDeletedAt)) } // UserIDEQ applies the EQ predicate on the "user_id" field. func UserIDEQ(v uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldUserID, v)) } // UserIDNEQ applies the NEQ predicate on the "user_id" field. func UserIDNEQ(v uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldUserID, v)) } // UserIDIn applies the In predicate on the "user_id" field. func UserIDIn(vs ...uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldUserID, vs...)) } // UserIDNotIn applies the NotIn predicate on the "user_id" field. func UserIDNotIn(vs ...uuid.UUID) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldUserID, vs...)) } // PlatformEQ applies the EQ predicate on the "platform" field. func PlatformEQ(v consts.GitPlatform) predicate.GitIdentity { vc := string(v) return predicate.GitIdentity(sql.FieldEQ(FieldPlatform, vc)) } // PlatformNEQ applies the NEQ predicate on the "platform" field. func PlatformNEQ(v consts.GitPlatform) predicate.GitIdentity { vc := string(v) return predicate.GitIdentity(sql.FieldNEQ(FieldPlatform, vc)) } // PlatformIn applies the In predicate on the "platform" field. func PlatformIn(vs ...consts.GitPlatform) predicate.GitIdentity { v := make([]any, len(vs)) for i := range v { v[i] = string(vs[i]) } return predicate.GitIdentity(sql.FieldIn(FieldPlatform, v...)) } // PlatformNotIn applies the NotIn predicate on the "platform" field. func PlatformNotIn(vs ...consts.GitPlatform) predicate.GitIdentity { v := make([]any, len(vs)) for i := range v { v[i] = string(vs[i]) } return predicate.GitIdentity(sql.FieldNotIn(FieldPlatform, v...)) } // PlatformGT applies the GT predicate on the "platform" field. func PlatformGT(v consts.GitPlatform) predicate.GitIdentity { vc := string(v) return predicate.GitIdentity(sql.FieldGT(FieldPlatform, vc)) } // PlatformGTE applies the GTE predicate on the "platform" field. func PlatformGTE(v consts.GitPlatform) predicate.GitIdentity { vc := string(v) return predicate.GitIdentity(sql.FieldGTE(FieldPlatform, vc)) } // PlatformLT applies the LT predicate on the "platform" field. func PlatformLT(v consts.GitPlatform) predicate.GitIdentity { vc := string(v) return predicate.GitIdentity(sql.FieldLT(FieldPlatform, vc)) } // PlatformLTE applies the LTE predicate on the "platform" field. func PlatformLTE(v consts.GitPlatform) predicate.GitIdentity { vc := string(v) return predicate.GitIdentity(sql.FieldLTE(FieldPlatform, vc)) } // PlatformContains applies the Contains predicate on the "platform" field. func PlatformContains(v consts.GitPlatform) predicate.GitIdentity { vc := string(v) return predicate.GitIdentity(sql.FieldContains(FieldPlatform, vc)) } // PlatformHasPrefix applies the HasPrefix predicate on the "platform" field. func PlatformHasPrefix(v consts.GitPlatform) predicate.GitIdentity { vc := string(v) return predicate.GitIdentity(sql.FieldHasPrefix(FieldPlatform, vc)) } // PlatformHasSuffix applies the HasSuffix predicate on the "platform" field. func PlatformHasSuffix(v consts.GitPlatform) predicate.GitIdentity { vc := string(v) return predicate.GitIdentity(sql.FieldHasSuffix(FieldPlatform, vc)) } // PlatformEqualFold applies the EqualFold predicate on the "platform" field. func PlatformEqualFold(v consts.GitPlatform) predicate.GitIdentity { vc := string(v) return predicate.GitIdentity(sql.FieldEqualFold(FieldPlatform, vc)) } // PlatformContainsFold applies the ContainsFold predicate on the "platform" field. func PlatformContainsFold(v consts.GitPlatform) predicate.GitIdentity { vc := string(v) return predicate.GitIdentity(sql.FieldContainsFold(FieldPlatform, vc)) } // BaseURLEQ applies the EQ predicate on the "base_url" field. func BaseURLEQ(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldBaseURL, v)) } // BaseURLNEQ applies the NEQ predicate on the "base_url" field. func BaseURLNEQ(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldBaseURL, v)) } // BaseURLIn applies the In predicate on the "base_url" field. func BaseURLIn(vs ...string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldBaseURL, vs...)) } // BaseURLNotIn applies the NotIn predicate on the "base_url" field. func BaseURLNotIn(vs ...string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldBaseURL, vs...)) } // BaseURLGT applies the GT predicate on the "base_url" field. func BaseURLGT(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGT(FieldBaseURL, v)) } // BaseURLGTE applies the GTE predicate on the "base_url" field. func BaseURLGTE(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGTE(FieldBaseURL, v)) } // BaseURLLT applies the LT predicate on the "base_url" field. func BaseURLLT(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLT(FieldBaseURL, v)) } // BaseURLLTE applies the LTE predicate on the "base_url" field. func BaseURLLTE(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLTE(FieldBaseURL, v)) } // BaseURLContains applies the Contains predicate on the "base_url" field. func BaseURLContains(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldContains(FieldBaseURL, v)) } // BaseURLHasPrefix applies the HasPrefix predicate on the "base_url" field. func BaseURLHasPrefix(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldHasPrefix(FieldBaseURL, v)) } // BaseURLHasSuffix applies the HasSuffix predicate on the "base_url" field. func BaseURLHasSuffix(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldHasSuffix(FieldBaseURL, v)) } // BaseURLIsNil applies the IsNil predicate on the "base_url" field. func BaseURLIsNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIsNull(FieldBaseURL)) } // BaseURLNotNil applies the NotNil predicate on the "base_url" field. func BaseURLNotNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotNull(FieldBaseURL)) } // BaseURLEqualFold applies the EqualFold predicate on the "base_url" field. func BaseURLEqualFold(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEqualFold(FieldBaseURL, v)) } // BaseURLContainsFold applies the ContainsFold predicate on the "base_url" field. func BaseURLContainsFold(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldContainsFold(FieldBaseURL, v)) } // AccessTokenEQ applies the EQ predicate on the "access_token" field. func AccessTokenEQ(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldAccessToken, v)) } // AccessTokenNEQ applies the NEQ predicate on the "access_token" field. func AccessTokenNEQ(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldAccessToken, v)) } // AccessTokenIn applies the In predicate on the "access_token" field. func AccessTokenIn(vs ...string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldAccessToken, vs...)) } // AccessTokenNotIn applies the NotIn predicate on the "access_token" field. func AccessTokenNotIn(vs ...string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldAccessToken, vs...)) } // AccessTokenGT applies the GT predicate on the "access_token" field. func AccessTokenGT(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGT(FieldAccessToken, v)) } // AccessTokenGTE applies the GTE predicate on the "access_token" field. func AccessTokenGTE(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGTE(FieldAccessToken, v)) } // AccessTokenLT applies the LT predicate on the "access_token" field. func AccessTokenLT(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLT(FieldAccessToken, v)) } // AccessTokenLTE applies the LTE predicate on the "access_token" field. func AccessTokenLTE(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLTE(FieldAccessToken, v)) } // AccessTokenContains applies the Contains predicate on the "access_token" field. func AccessTokenContains(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldContains(FieldAccessToken, v)) } // AccessTokenHasPrefix applies the HasPrefix predicate on the "access_token" field. func AccessTokenHasPrefix(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldHasPrefix(FieldAccessToken, v)) } // AccessTokenHasSuffix applies the HasSuffix predicate on the "access_token" field. func AccessTokenHasSuffix(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldHasSuffix(FieldAccessToken, v)) } // AccessTokenIsNil applies the IsNil predicate on the "access_token" field. func AccessTokenIsNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIsNull(FieldAccessToken)) } // AccessTokenNotNil applies the NotNil predicate on the "access_token" field. func AccessTokenNotNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotNull(FieldAccessToken)) } // AccessTokenEqualFold applies the EqualFold predicate on the "access_token" field. func AccessTokenEqualFold(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEqualFold(FieldAccessToken, v)) } // AccessTokenContainsFold applies the ContainsFold predicate on the "access_token" field. func AccessTokenContainsFold(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldContainsFold(FieldAccessToken, v)) } // UsernameEQ applies the EQ predicate on the "username" field. func UsernameEQ(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldUsername, v)) } // UsernameNEQ applies the NEQ predicate on the "username" field. func UsernameNEQ(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldUsername, v)) } // UsernameIn applies the In predicate on the "username" field. func UsernameIn(vs ...string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldUsername, vs...)) } // UsernameNotIn applies the NotIn predicate on the "username" field. func UsernameNotIn(vs ...string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldUsername, vs...)) } // UsernameGT applies the GT predicate on the "username" field. func UsernameGT(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGT(FieldUsername, v)) } // UsernameGTE applies the GTE predicate on the "username" field. func UsernameGTE(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGTE(FieldUsername, v)) } // UsernameLT applies the LT predicate on the "username" field. func UsernameLT(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLT(FieldUsername, v)) } // UsernameLTE applies the LTE predicate on the "username" field. func UsernameLTE(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLTE(FieldUsername, v)) } // UsernameContains applies the Contains predicate on the "username" field. func UsernameContains(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldContains(FieldUsername, v)) } // UsernameHasPrefix applies the HasPrefix predicate on the "username" field. func UsernameHasPrefix(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldHasPrefix(FieldUsername, v)) } // UsernameHasSuffix applies the HasSuffix predicate on the "username" field. func UsernameHasSuffix(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldHasSuffix(FieldUsername, v)) } // UsernameIsNil applies the IsNil predicate on the "username" field. func UsernameIsNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIsNull(FieldUsername)) } // UsernameNotNil applies the NotNil predicate on the "username" field. func UsernameNotNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotNull(FieldUsername)) } // UsernameEqualFold applies the EqualFold predicate on the "username" field. func UsernameEqualFold(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEqualFold(FieldUsername, v)) } // UsernameContainsFold applies the ContainsFold predicate on the "username" field. func UsernameContainsFold(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldContainsFold(FieldUsername, v)) } // EmailEQ applies the EQ predicate on the "email" field. func EmailEQ(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldEmail, v)) } // EmailNEQ applies the NEQ predicate on the "email" field. func EmailNEQ(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldEmail, v)) } // EmailIn applies the In predicate on the "email" field. func EmailIn(vs ...string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldEmail, vs...)) } // EmailNotIn applies the NotIn predicate on the "email" field. func EmailNotIn(vs ...string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldEmail, vs...)) } // EmailGT applies the GT predicate on the "email" field. func EmailGT(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGT(FieldEmail, v)) } // EmailGTE applies the GTE predicate on the "email" field. func EmailGTE(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGTE(FieldEmail, v)) } // EmailLT applies the LT predicate on the "email" field. func EmailLT(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLT(FieldEmail, v)) } // EmailLTE applies the LTE predicate on the "email" field. func EmailLTE(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLTE(FieldEmail, v)) } // EmailContains applies the Contains predicate on the "email" field. func EmailContains(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldContains(FieldEmail, v)) } // EmailHasPrefix applies the HasPrefix predicate on the "email" field. func EmailHasPrefix(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldHasPrefix(FieldEmail, v)) } // EmailHasSuffix applies the HasSuffix predicate on the "email" field. func EmailHasSuffix(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldHasSuffix(FieldEmail, v)) } // EmailIsNil applies the IsNil predicate on the "email" field. func EmailIsNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIsNull(FieldEmail)) } // EmailNotNil applies the NotNil predicate on the "email" field. func EmailNotNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotNull(FieldEmail)) } // EmailEqualFold applies the EqualFold predicate on the "email" field. func EmailEqualFold(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEqualFold(FieldEmail, v)) } // EmailContainsFold applies the ContainsFold predicate on the "email" field. func EmailContainsFold(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldContainsFold(FieldEmail, v)) } // InstallationIDEQ applies the EQ predicate on the "installation_id" field. func InstallationIDEQ(v int64) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldInstallationID, v)) } // InstallationIDNEQ applies the NEQ predicate on the "installation_id" field. func InstallationIDNEQ(v int64) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldInstallationID, v)) } // InstallationIDIn applies the In predicate on the "installation_id" field. func InstallationIDIn(vs ...int64) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldInstallationID, vs...)) } // InstallationIDNotIn applies the NotIn predicate on the "installation_id" field. func InstallationIDNotIn(vs ...int64) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldInstallationID, vs...)) } // InstallationIDGT applies the GT predicate on the "installation_id" field. func InstallationIDGT(v int64) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGT(FieldInstallationID, v)) } // InstallationIDGTE applies the GTE predicate on the "installation_id" field. func InstallationIDGTE(v int64) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGTE(FieldInstallationID, v)) } // InstallationIDLT applies the LT predicate on the "installation_id" field. func InstallationIDLT(v int64) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLT(FieldInstallationID, v)) } // InstallationIDLTE applies the LTE predicate on the "installation_id" field. func InstallationIDLTE(v int64) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLTE(FieldInstallationID, v)) } // InstallationIDIsNil applies the IsNil predicate on the "installation_id" field. func InstallationIDIsNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIsNull(FieldInstallationID)) } // InstallationIDNotNil applies the NotNil predicate on the "installation_id" field. func InstallationIDNotNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotNull(FieldInstallationID)) } // RemarkEQ applies the EQ predicate on the "remark" field. func RemarkEQ(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldRemark, v)) } // RemarkNEQ applies the NEQ predicate on the "remark" field. func RemarkNEQ(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldRemark, v)) } // RemarkIn applies the In predicate on the "remark" field. func RemarkIn(vs ...string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldRemark, vs...)) } // RemarkNotIn applies the NotIn predicate on the "remark" field. func RemarkNotIn(vs ...string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldRemark, vs...)) } // RemarkGT applies the GT predicate on the "remark" field. func RemarkGT(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGT(FieldRemark, v)) } // RemarkGTE applies the GTE predicate on the "remark" field. func RemarkGTE(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGTE(FieldRemark, v)) } // RemarkLT applies the LT predicate on the "remark" field. func RemarkLT(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLT(FieldRemark, v)) } // RemarkLTE applies the LTE predicate on the "remark" field. func RemarkLTE(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLTE(FieldRemark, v)) } // RemarkContains applies the Contains predicate on the "remark" field. func RemarkContains(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldContains(FieldRemark, v)) } // RemarkHasPrefix applies the HasPrefix predicate on the "remark" field. func RemarkHasPrefix(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldHasPrefix(FieldRemark, v)) } // RemarkHasSuffix applies the HasSuffix predicate on the "remark" field. func RemarkHasSuffix(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldHasSuffix(FieldRemark, v)) } // RemarkIsNil applies the IsNil predicate on the "remark" field. func RemarkIsNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIsNull(FieldRemark)) } // RemarkNotNil applies the NotNil predicate on the "remark" field. func RemarkNotNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotNull(FieldRemark)) } // RemarkEqualFold applies the EqualFold predicate on the "remark" field. func RemarkEqualFold(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEqualFold(FieldRemark, v)) } // RemarkContainsFold applies the ContainsFold predicate on the "remark" field. func RemarkContainsFold(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldContainsFold(FieldRemark, v)) } // OauthRefreshTokenEQ applies the EQ predicate on the "oauth_refresh_token" field. func OauthRefreshTokenEQ(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldOauthRefreshToken, v)) } // OauthRefreshTokenNEQ applies the NEQ predicate on the "oauth_refresh_token" field. func OauthRefreshTokenNEQ(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldOauthRefreshToken, v)) } // OauthRefreshTokenIn applies the In predicate on the "oauth_refresh_token" field. func OauthRefreshTokenIn(vs ...string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldOauthRefreshToken, vs...)) } // OauthRefreshTokenNotIn applies the NotIn predicate on the "oauth_refresh_token" field. func OauthRefreshTokenNotIn(vs ...string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldOauthRefreshToken, vs...)) } // OauthRefreshTokenGT applies the GT predicate on the "oauth_refresh_token" field. func OauthRefreshTokenGT(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGT(FieldOauthRefreshToken, v)) } // OauthRefreshTokenGTE applies the GTE predicate on the "oauth_refresh_token" field. func OauthRefreshTokenGTE(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGTE(FieldOauthRefreshToken, v)) } // OauthRefreshTokenLT applies the LT predicate on the "oauth_refresh_token" field. func OauthRefreshTokenLT(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLT(FieldOauthRefreshToken, v)) } // OauthRefreshTokenLTE applies the LTE predicate on the "oauth_refresh_token" field. func OauthRefreshTokenLTE(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLTE(FieldOauthRefreshToken, v)) } // OauthRefreshTokenContains applies the Contains predicate on the "oauth_refresh_token" field. func OauthRefreshTokenContains(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldContains(FieldOauthRefreshToken, v)) } // OauthRefreshTokenHasPrefix applies the HasPrefix predicate on the "oauth_refresh_token" field. func OauthRefreshTokenHasPrefix(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldHasPrefix(FieldOauthRefreshToken, v)) } // OauthRefreshTokenHasSuffix applies the HasSuffix predicate on the "oauth_refresh_token" field. func OauthRefreshTokenHasSuffix(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldHasSuffix(FieldOauthRefreshToken, v)) } // OauthRefreshTokenIsNil applies the IsNil predicate on the "oauth_refresh_token" field. func OauthRefreshTokenIsNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIsNull(FieldOauthRefreshToken)) } // OauthRefreshTokenNotNil applies the NotNil predicate on the "oauth_refresh_token" field. func OauthRefreshTokenNotNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotNull(FieldOauthRefreshToken)) } // OauthRefreshTokenEqualFold applies the EqualFold predicate on the "oauth_refresh_token" field. func OauthRefreshTokenEqualFold(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEqualFold(FieldOauthRefreshToken, v)) } // OauthRefreshTokenContainsFold applies the ContainsFold predicate on the "oauth_refresh_token" field. func OauthRefreshTokenContainsFold(v string) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldContainsFold(FieldOauthRefreshToken, v)) } // OauthExpiresAtEQ applies the EQ predicate on the "oauth_expires_at" field. func OauthExpiresAtEQ(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldOauthExpiresAt, v)) } // OauthExpiresAtNEQ applies the NEQ predicate on the "oauth_expires_at" field. func OauthExpiresAtNEQ(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldOauthExpiresAt, v)) } // OauthExpiresAtIn applies the In predicate on the "oauth_expires_at" field. func OauthExpiresAtIn(vs ...time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldOauthExpiresAt, vs...)) } // OauthExpiresAtNotIn applies the NotIn predicate on the "oauth_expires_at" field. func OauthExpiresAtNotIn(vs ...time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldOauthExpiresAt, vs...)) } // OauthExpiresAtGT applies the GT predicate on the "oauth_expires_at" field. func OauthExpiresAtGT(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGT(FieldOauthExpiresAt, v)) } // OauthExpiresAtGTE applies the GTE predicate on the "oauth_expires_at" field. func OauthExpiresAtGTE(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGTE(FieldOauthExpiresAt, v)) } // OauthExpiresAtLT applies the LT predicate on the "oauth_expires_at" field. func OauthExpiresAtLT(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLT(FieldOauthExpiresAt, v)) } // OauthExpiresAtLTE applies the LTE predicate on the "oauth_expires_at" field. func OauthExpiresAtLTE(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLTE(FieldOauthExpiresAt, v)) } // OauthExpiresAtIsNil applies the IsNil predicate on the "oauth_expires_at" field. func OauthExpiresAtIsNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIsNull(FieldOauthExpiresAt)) } // OauthExpiresAtNotNil applies the NotNil predicate on the "oauth_expires_at" field. func OauthExpiresAtNotNil() predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotNull(FieldOauthExpiresAt)) } // CreatedAtEQ applies the EQ predicate on the "created_at" field. func CreatedAtEQ(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldCreatedAt, v)) } // CreatedAtNEQ applies the NEQ predicate on the "created_at" field. func CreatedAtNEQ(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldCreatedAt, v)) } // CreatedAtIn applies the In predicate on the "created_at" field. func CreatedAtIn(vs ...time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldCreatedAt, vs...)) } // CreatedAtNotIn applies the NotIn predicate on the "created_at" field. func CreatedAtNotIn(vs ...time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldCreatedAt, vs...)) } // CreatedAtGT applies the GT predicate on the "created_at" field. func CreatedAtGT(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGT(FieldCreatedAt, v)) } // CreatedAtGTE applies the GTE predicate on the "created_at" field. func CreatedAtGTE(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGTE(FieldCreatedAt, v)) } // CreatedAtLT applies the LT predicate on the "created_at" field. func CreatedAtLT(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLT(FieldCreatedAt, v)) } // CreatedAtLTE applies the LTE predicate on the "created_at" field. func CreatedAtLTE(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLTE(FieldCreatedAt, v)) } // UpdatedAtEQ applies the EQ predicate on the "updated_at" field. func UpdatedAtEQ(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldEQ(FieldUpdatedAt, v)) } // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field. func UpdatedAtNEQ(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNEQ(FieldUpdatedAt, v)) } // UpdatedAtIn applies the In predicate on the "updated_at" field. func UpdatedAtIn(vs ...time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldIn(FieldUpdatedAt, vs...)) } // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field. func UpdatedAtNotIn(vs ...time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldNotIn(FieldUpdatedAt, vs...)) } // UpdatedAtGT applies the GT predicate on the "updated_at" field. func UpdatedAtGT(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGT(FieldUpdatedAt, v)) } // UpdatedAtGTE applies the GTE predicate on the "updated_at" field. func UpdatedAtGTE(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldGTE(FieldUpdatedAt, v)) } // UpdatedAtLT applies the LT predicate on the "updated_at" field. func UpdatedAtLT(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLT(FieldUpdatedAt, v)) } // UpdatedAtLTE applies the LTE predicate on the "updated_at" field. func UpdatedAtLTE(v time.Time) predicate.GitIdentity { return predicate.GitIdentity(sql.FieldLTE(FieldUpdatedAt, v)) } // HasUser applies the HasEdge predicate on the "user" edge. func HasUser() predicate.GitIdentity { return predicate.GitIdentity(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.M2O, true, UserTable, UserColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates). func HasUserWith(preds ...predicate.User) predicate.GitIdentity { return predicate.GitIdentity(func(s *sql.Selector) { step := newUserStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // HasProjects applies the HasEdge predicate on the "projects" edge. func HasProjects() predicate.GitIdentity { return predicate.GitIdentity(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.O2M, false, ProjectsTable, ProjectsColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasProjectsWith applies the HasEdge predicate on the "projects" edge with a given conditions (other predicates). func HasProjectsWith(preds ...predicate.Project) predicate.GitIdentity { return predicate.GitIdentity(func(s *sql.Selector) { step := newProjectsStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // HasProjectTasks applies the HasEdge predicate on the "project_tasks" edge. func HasProjectTasks() predicate.GitIdentity { return predicate.GitIdentity(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.O2M, false, ProjectTasksTable, ProjectTasksColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasProjectTasksWith applies the HasEdge predicate on the "project_tasks" edge with a given conditions (other predicates). func HasProjectTasksWith(preds ...predicate.ProjectTask) predicate.GitIdentity { return predicate.GitIdentity(func(s *sql.Selector) { step := newProjectTasksStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // And groups predicates with the AND operator between them. func And(predicates ...predicate.GitIdentity) predicate.GitIdentity { return predicate.GitIdentity(sql.AndPredicates(predicates...)) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.GitIdentity) predicate.GitIdentity { return predicate.GitIdentity(sql.OrPredicates(predicates...)) } // Not applies the not operator on the given predicate. func Not(p predicate.GitIdentity) predicate.GitIdentity { return predicate.GitIdentity(sql.NotPredicates(p)) }