600 lines
23 KiB
Go
600 lines
23 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package cloudflareaccounts
|
|
|
|
import (
|
|
"time"
|
|
"unR2/internal/ent/predicate"
|
|
|
|
"entgo.io/ent/dialect/sql"
|
|
"entgo.io/ent/dialect/sql/sqlgraph"
|
|
)
|
|
|
|
// ID filters vertices based on their ID field.
|
|
func ID(id int) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// Name applies equality check predicate on the "name" field. It's identical to NameEQ.
|
|
func Name(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldName, v))
|
|
}
|
|
|
|
// AccountID applies equality check predicate on the "account_id" field. It's identical to AccountIDEQ.
|
|
func AccountID(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldAccountID, v))
|
|
}
|
|
|
|
// APIToken applies equality check predicate on the "api_token" field. It's identical to APITokenEQ.
|
|
func APIToken(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldAPIToken, v))
|
|
}
|
|
|
|
// Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
|
|
func Email(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldEmail, v))
|
|
}
|
|
|
|
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
|
|
func Status(v int8) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
|
|
func Remark(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldRemark, v))
|
|
}
|
|
|
|
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
|
|
func CreatedAt(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(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.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// NameEQ applies the EQ predicate on the "name" field.
|
|
func NameEQ(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldName, v))
|
|
}
|
|
|
|
// NameNEQ applies the NEQ predicate on the "name" field.
|
|
func NameNEQ(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNEQ(FieldName, v))
|
|
}
|
|
|
|
// NameIn applies the In predicate on the "name" field.
|
|
func NameIn(vs ...string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldIn(FieldName, vs...))
|
|
}
|
|
|
|
// NameNotIn applies the NotIn predicate on the "name" field.
|
|
func NameNotIn(vs ...string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNotIn(FieldName, vs...))
|
|
}
|
|
|
|
// NameGT applies the GT predicate on the "name" field.
|
|
func NameGT(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGT(FieldName, v))
|
|
}
|
|
|
|
// NameGTE applies the GTE predicate on the "name" field.
|
|
func NameGTE(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGTE(FieldName, v))
|
|
}
|
|
|
|
// NameLT applies the LT predicate on the "name" field.
|
|
func NameLT(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLT(FieldName, v))
|
|
}
|
|
|
|
// NameLTE applies the LTE predicate on the "name" field.
|
|
func NameLTE(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLTE(FieldName, v))
|
|
}
|
|
|
|
// NameContains applies the Contains predicate on the "name" field.
|
|
func NameContains(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldContains(FieldName, v))
|
|
}
|
|
|
|
// NameHasPrefix applies the HasPrefix predicate on the "name" field.
|
|
func NameHasPrefix(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldHasPrefix(FieldName, v))
|
|
}
|
|
|
|
// NameHasSuffix applies the HasSuffix predicate on the "name" field.
|
|
func NameHasSuffix(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldHasSuffix(FieldName, v))
|
|
}
|
|
|
|
// NameEqualFold applies the EqualFold predicate on the "name" field.
|
|
func NameEqualFold(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEqualFold(FieldName, v))
|
|
}
|
|
|
|
// NameContainsFold applies the ContainsFold predicate on the "name" field.
|
|
func NameContainsFold(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldContainsFold(FieldName, v))
|
|
}
|
|
|
|
// AccountIDEQ applies the EQ predicate on the "account_id" field.
|
|
func AccountIDEQ(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldAccountID, v))
|
|
}
|
|
|
|
// AccountIDNEQ applies the NEQ predicate on the "account_id" field.
|
|
func AccountIDNEQ(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNEQ(FieldAccountID, v))
|
|
}
|
|
|
|
// AccountIDIn applies the In predicate on the "account_id" field.
|
|
func AccountIDIn(vs ...string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldIn(FieldAccountID, vs...))
|
|
}
|
|
|
|
// AccountIDNotIn applies the NotIn predicate on the "account_id" field.
|
|
func AccountIDNotIn(vs ...string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNotIn(FieldAccountID, vs...))
|
|
}
|
|
|
|
// AccountIDGT applies the GT predicate on the "account_id" field.
|
|
func AccountIDGT(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGT(FieldAccountID, v))
|
|
}
|
|
|
|
// AccountIDGTE applies the GTE predicate on the "account_id" field.
|
|
func AccountIDGTE(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGTE(FieldAccountID, v))
|
|
}
|
|
|
|
// AccountIDLT applies the LT predicate on the "account_id" field.
|
|
func AccountIDLT(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLT(FieldAccountID, v))
|
|
}
|
|
|
|
// AccountIDLTE applies the LTE predicate on the "account_id" field.
|
|
func AccountIDLTE(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLTE(FieldAccountID, v))
|
|
}
|
|
|
|
// AccountIDContains applies the Contains predicate on the "account_id" field.
|
|
func AccountIDContains(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldContains(FieldAccountID, v))
|
|
}
|
|
|
|
// AccountIDHasPrefix applies the HasPrefix predicate on the "account_id" field.
|
|
func AccountIDHasPrefix(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldHasPrefix(FieldAccountID, v))
|
|
}
|
|
|
|
// AccountIDHasSuffix applies the HasSuffix predicate on the "account_id" field.
|
|
func AccountIDHasSuffix(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldHasSuffix(FieldAccountID, v))
|
|
}
|
|
|
|
// AccountIDEqualFold applies the EqualFold predicate on the "account_id" field.
|
|
func AccountIDEqualFold(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEqualFold(FieldAccountID, v))
|
|
}
|
|
|
|
// AccountIDContainsFold applies the ContainsFold predicate on the "account_id" field.
|
|
func AccountIDContainsFold(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldContainsFold(FieldAccountID, v))
|
|
}
|
|
|
|
// APITokenEQ applies the EQ predicate on the "api_token" field.
|
|
func APITokenEQ(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldAPIToken, v))
|
|
}
|
|
|
|
// APITokenNEQ applies the NEQ predicate on the "api_token" field.
|
|
func APITokenNEQ(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNEQ(FieldAPIToken, v))
|
|
}
|
|
|
|
// APITokenIn applies the In predicate on the "api_token" field.
|
|
func APITokenIn(vs ...string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldIn(FieldAPIToken, vs...))
|
|
}
|
|
|
|
// APITokenNotIn applies the NotIn predicate on the "api_token" field.
|
|
func APITokenNotIn(vs ...string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNotIn(FieldAPIToken, vs...))
|
|
}
|
|
|
|
// APITokenGT applies the GT predicate on the "api_token" field.
|
|
func APITokenGT(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGT(FieldAPIToken, v))
|
|
}
|
|
|
|
// APITokenGTE applies the GTE predicate on the "api_token" field.
|
|
func APITokenGTE(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGTE(FieldAPIToken, v))
|
|
}
|
|
|
|
// APITokenLT applies the LT predicate on the "api_token" field.
|
|
func APITokenLT(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLT(FieldAPIToken, v))
|
|
}
|
|
|
|
// APITokenLTE applies the LTE predicate on the "api_token" field.
|
|
func APITokenLTE(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLTE(FieldAPIToken, v))
|
|
}
|
|
|
|
// APITokenContains applies the Contains predicate on the "api_token" field.
|
|
func APITokenContains(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldContains(FieldAPIToken, v))
|
|
}
|
|
|
|
// APITokenHasPrefix applies the HasPrefix predicate on the "api_token" field.
|
|
func APITokenHasPrefix(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldHasPrefix(FieldAPIToken, v))
|
|
}
|
|
|
|
// APITokenHasSuffix applies the HasSuffix predicate on the "api_token" field.
|
|
func APITokenHasSuffix(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldHasSuffix(FieldAPIToken, v))
|
|
}
|
|
|
|
// APITokenEqualFold applies the EqualFold predicate on the "api_token" field.
|
|
func APITokenEqualFold(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEqualFold(FieldAPIToken, v))
|
|
}
|
|
|
|
// APITokenContainsFold applies the ContainsFold predicate on the "api_token" field.
|
|
func APITokenContainsFold(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldContainsFold(FieldAPIToken, v))
|
|
}
|
|
|
|
// EmailEQ applies the EQ predicate on the "email" field.
|
|
func EmailEQ(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldEmail, v))
|
|
}
|
|
|
|
// EmailNEQ applies the NEQ predicate on the "email" field.
|
|
func EmailNEQ(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNEQ(FieldEmail, v))
|
|
}
|
|
|
|
// EmailIn applies the In predicate on the "email" field.
|
|
func EmailIn(vs ...string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldIn(FieldEmail, vs...))
|
|
}
|
|
|
|
// EmailNotIn applies the NotIn predicate on the "email" field.
|
|
func EmailNotIn(vs ...string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNotIn(FieldEmail, vs...))
|
|
}
|
|
|
|
// EmailGT applies the GT predicate on the "email" field.
|
|
func EmailGT(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGT(FieldEmail, v))
|
|
}
|
|
|
|
// EmailGTE applies the GTE predicate on the "email" field.
|
|
func EmailGTE(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGTE(FieldEmail, v))
|
|
}
|
|
|
|
// EmailLT applies the LT predicate on the "email" field.
|
|
func EmailLT(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLT(FieldEmail, v))
|
|
}
|
|
|
|
// EmailLTE applies the LTE predicate on the "email" field.
|
|
func EmailLTE(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLTE(FieldEmail, v))
|
|
}
|
|
|
|
// EmailContains applies the Contains predicate on the "email" field.
|
|
func EmailContains(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldContains(FieldEmail, v))
|
|
}
|
|
|
|
// EmailHasPrefix applies the HasPrefix predicate on the "email" field.
|
|
func EmailHasPrefix(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldHasPrefix(FieldEmail, v))
|
|
}
|
|
|
|
// EmailHasSuffix applies the HasSuffix predicate on the "email" field.
|
|
func EmailHasSuffix(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldHasSuffix(FieldEmail, v))
|
|
}
|
|
|
|
// EmailIsNil applies the IsNil predicate on the "email" field.
|
|
func EmailIsNil() predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldIsNull(FieldEmail))
|
|
}
|
|
|
|
// EmailNotNil applies the NotNil predicate on the "email" field.
|
|
func EmailNotNil() predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNotNull(FieldEmail))
|
|
}
|
|
|
|
// EmailEqualFold applies the EqualFold predicate on the "email" field.
|
|
func EmailEqualFold(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEqualFold(FieldEmail, v))
|
|
}
|
|
|
|
// EmailContainsFold applies the ContainsFold predicate on the "email" field.
|
|
func EmailContainsFold(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldContainsFold(FieldEmail, v))
|
|
}
|
|
|
|
// StatusEQ applies the EQ predicate on the "status" field.
|
|
func StatusEQ(v int8) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusNEQ applies the NEQ predicate on the "status" field.
|
|
func StatusNEQ(v int8) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNEQ(FieldStatus, v))
|
|
}
|
|
|
|
// StatusIn applies the In predicate on the "status" field.
|
|
func StatusIn(vs ...int8) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusNotIn applies the NotIn predicate on the "status" field.
|
|
func StatusNotIn(vs ...int8) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNotIn(FieldStatus, vs...))
|
|
}
|
|
|
|
// StatusGT applies the GT predicate on the "status" field.
|
|
func StatusGT(v int8) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusGTE applies the GTE predicate on the "status" field.
|
|
func StatusGTE(v int8) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGTE(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLT applies the LT predicate on the "status" field.
|
|
func StatusLT(v int8) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLT(FieldStatus, v))
|
|
}
|
|
|
|
// StatusLTE applies the LTE predicate on the "status" field.
|
|
func StatusLTE(v int8) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLTE(FieldStatus, v))
|
|
}
|
|
|
|
// RemarkEQ applies the EQ predicate on the "remark" field.
|
|
func RemarkEQ(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkNEQ applies the NEQ predicate on the "remark" field.
|
|
func RemarkNEQ(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNEQ(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkIn applies the In predicate on the "remark" field.
|
|
func RemarkIn(vs ...string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldIn(FieldRemark, vs...))
|
|
}
|
|
|
|
// RemarkNotIn applies the NotIn predicate on the "remark" field.
|
|
func RemarkNotIn(vs ...string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNotIn(FieldRemark, vs...))
|
|
}
|
|
|
|
// RemarkGT applies the GT predicate on the "remark" field.
|
|
func RemarkGT(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGT(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkGTE applies the GTE predicate on the "remark" field.
|
|
func RemarkGTE(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGTE(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkLT applies the LT predicate on the "remark" field.
|
|
func RemarkLT(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLT(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkLTE applies the LTE predicate on the "remark" field.
|
|
func RemarkLTE(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLTE(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkContains applies the Contains predicate on the "remark" field.
|
|
func RemarkContains(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldContains(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
|
|
func RemarkHasPrefix(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldHasPrefix(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
|
|
func RemarkHasSuffix(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldHasSuffix(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkIsNil applies the IsNil predicate on the "remark" field.
|
|
func RemarkIsNil() predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldIsNull(FieldRemark))
|
|
}
|
|
|
|
// RemarkNotNil applies the NotNil predicate on the "remark" field.
|
|
func RemarkNotNil() predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNotNull(FieldRemark))
|
|
}
|
|
|
|
// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
|
|
func RemarkEqualFold(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEqualFold(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
|
|
func RemarkContainsFold(v string) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldContainsFold(FieldRemark, v))
|
|
}
|
|
|
|
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
|
func CreatedAtEQ(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
|
func CreatedAtNEQ(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNEQ(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtIn applies the In predicate on the "created_at" field.
|
|
func CreatedAtIn(vs ...time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
|
func CreatedAtNotIn(vs ...time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
}
|
|
|
|
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
|
func CreatedAtGT(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
|
func CreatedAtGTE(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
|
func CreatedAtLT(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLT(FieldCreatedAt, v))
|
|
}
|
|
|
|
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
|
func CreatedAtLTE(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLTE(FieldCreatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
|
|
func UpdatedAtEQ(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
|
|
func UpdatedAtNEQ(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNEQ(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtIn applies the In predicate on the "updated_at" field.
|
|
func UpdatedAtIn(vs ...time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
|
|
func UpdatedAtNotIn(vs ...time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldNotIn(FieldUpdatedAt, vs...))
|
|
}
|
|
|
|
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
|
|
func UpdatedAtGT(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
|
|
func UpdatedAtGTE(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldGTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
|
|
func UpdatedAtLT(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLT(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
|
|
func UpdatedAtLTE(v time.Time) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.FieldLTE(FieldUpdatedAt, v))
|
|
}
|
|
|
|
// HasCloudflareBuckets applies the HasEdge predicate on the "cloudflare_buckets" edge.
|
|
func HasCloudflareBuckets() predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(func(s *sql.Selector) {
|
|
step := sqlgraph.NewStep(
|
|
sqlgraph.From(Table, FieldID),
|
|
sqlgraph.Edge(sqlgraph.O2M, false, CloudflareBucketsTable, CloudflareBucketsColumn),
|
|
)
|
|
sqlgraph.HasNeighbors(s, step)
|
|
})
|
|
}
|
|
|
|
// HasCloudflareBucketsWith applies the HasEdge predicate on the "cloudflare_buckets" edge with a given conditions (other predicates).
|
|
func HasCloudflareBucketsWith(preds ...predicate.CloudflareR2) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(func(s *sql.Selector) {
|
|
step := newCloudflareBucketsStep()
|
|
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.CloudflareAccounts) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.CloudflareAccounts) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.CloudflareAccounts) predicate.CloudflareAccounts {
|
|
return predicate.CloudflareAccounts(sql.NotPredicates(p))
|
|
}
|