Files
2025-07-19 02:03:24 +08:00

725 lines
27 KiB
Go

// Code generated by ent, DO NOT EDIT.
package cloudflarer2
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.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLTE(FieldID, id))
}
// OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerID(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldOwnerID, v))
}
// Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func Name(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldName, v))
}
// Location applies equality check predicate on the "location" field. It's identical to LocationEQ.
func Location(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldLocation, v))
}
// StorageClass applies equality check predicate on the "storage_class" field. It's identical to StorageClassEQ.
func StorageClass(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldStorageClass, v))
}
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func Status(v int8) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldStatus, v))
}
// PayloadSize applies equality check predicate on the "payload_size" field. It's identical to PayloadSizeEQ.
func PayloadSize(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldPayloadSize, v))
}
// MetadataSize applies equality check predicate on the "metadata_size" field. It's identical to MetadataSizeEQ.
func MetadataSize(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldMetadataSize, v))
}
// ObjectCount applies equality check predicate on the "object_count" field. It's identical to ObjectCountEQ.
func ObjectCount(v int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldObjectCount, v))
}
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func Remark(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(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.CloudflareR2 {
return predicate.CloudflareR2(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.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldUpdatedAt, v))
}
// OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEQ(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldOwnerID, v))
}
// OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNEQ(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNEQ(FieldOwnerID, v))
}
// OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDIn(vs ...string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIn(FieldOwnerID, vs...))
}
// OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotIn(vs ...string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotIn(FieldOwnerID, vs...))
}
// OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGT(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGT(FieldOwnerID, v))
}
// OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDGTE(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGTE(FieldOwnerID, v))
}
// OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLT(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLT(FieldOwnerID, v))
}
// OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDLTE(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLTE(FieldOwnerID, v))
}
// OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContains(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldContains(FieldOwnerID, v))
}
// OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasPrefix(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldHasPrefix(FieldOwnerID, v))
}
// OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDHasSuffix(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldHasSuffix(FieldOwnerID, v))
}
// OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDEqualFold(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEqualFold(FieldOwnerID, v))
}
// OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDContainsFold(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldContainsFold(FieldOwnerID, v))
}
// NameEQ applies the EQ predicate on the "name" field.
func NameEQ(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldName, v))
}
// NameNEQ applies the NEQ predicate on the "name" field.
func NameNEQ(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNEQ(FieldName, v))
}
// NameIn applies the In predicate on the "name" field.
func NameIn(vs ...string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIn(FieldName, vs...))
}
// NameNotIn applies the NotIn predicate on the "name" field.
func NameNotIn(vs ...string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotIn(FieldName, vs...))
}
// NameGT applies the GT predicate on the "name" field.
func NameGT(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGT(FieldName, v))
}
// NameGTE applies the GTE predicate on the "name" field.
func NameGTE(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGTE(FieldName, v))
}
// NameLT applies the LT predicate on the "name" field.
func NameLT(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLT(FieldName, v))
}
// NameLTE applies the LTE predicate on the "name" field.
func NameLTE(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLTE(FieldName, v))
}
// NameContains applies the Contains predicate on the "name" field.
func NameContains(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldContains(FieldName, v))
}
// NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasPrefix(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldHasPrefix(FieldName, v))
}
// NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameHasSuffix(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldHasSuffix(FieldName, v))
}
// NameEqualFold applies the EqualFold predicate on the "name" field.
func NameEqualFold(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEqualFold(FieldName, v))
}
// NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameContainsFold(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldContainsFold(FieldName, v))
}
// LocationEQ applies the EQ predicate on the "location" field.
func LocationEQ(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldLocation, v))
}
// LocationNEQ applies the NEQ predicate on the "location" field.
func LocationNEQ(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNEQ(FieldLocation, v))
}
// LocationIn applies the In predicate on the "location" field.
func LocationIn(vs ...string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIn(FieldLocation, vs...))
}
// LocationNotIn applies the NotIn predicate on the "location" field.
func LocationNotIn(vs ...string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotIn(FieldLocation, vs...))
}
// LocationGT applies the GT predicate on the "location" field.
func LocationGT(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGT(FieldLocation, v))
}
// LocationGTE applies the GTE predicate on the "location" field.
func LocationGTE(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGTE(FieldLocation, v))
}
// LocationLT applies the LT predicate on the "location" field.
func LocationLT(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLT(FieldLocation, v))
}
// LocationLTE applies the LTE predicate on the "location" field.
func LocationLTE(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLTE(FieldLocation, v))
}
// LocationContains applies the Contains predicate on the "location" field.
func LocationContains(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldContains(FieldLocation, v))
}
// LocationHasPrefix applies the HasPrefix predicate on the "location" field.
func LocationHasPrefix(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldHasPrefix(FieldLocation, v))
}
// LocationHasSuffix applies the HasSuffix predicate on the "location" field.
func LocationHasSuffix(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldHasSuffix(FieldLocation, v))
}
// LocationEqualFold applies the EqualFold predicate on the "location" field.
func LocationEqualFold(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEqualFold(FieldLocation, v))
}
// LocationContainsFold applies the ContainsFold predicate on the "location" field.
func LocationContainsFold(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldContainsFold(FieldLocation, v))
}
// StorageClassEQ applies the EQ predicate on the "storage_class" field.
func StorageClassEQ(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldStorageClass, v))
}
// StorageClassNEQ applies the NEQ predicate on the "storage_class" field.
func StorageClassNEQ(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNEQ(FieldStorageClass, v))
}
// StorageClassIn applies the In predicate on the "storage_class" field.
func StorageClassIn(vs ...string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIn(FieldStorageClass, vs...))
}
// StorageClassNotIn applies the NotIn predicate on the "storage_class" field.
func StorageClassNotIn(vs ...string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotIn(FieldStorageClass, vs...))
}
// StorageClassGT applies the GT predicate on the "storage_class" field.
func StorageClassGT(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGT(FieldStorageClass, v))
}
// StorageClassGTE applies the GTE predicate on the "storage_class" field.
func StorageClassGTE(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGTE(FieldStorageClass, v))
}
// StorageClassLT applies the LT predicate on the "storage_class" field.
func StorageClassLT(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLT(FieldStorageClass, v))
}
// StorageClassLTE applies the LTE predicate on the "storage_class" field.
func StorageClassLTE(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLTE(FieldStorageClass, v))
}
// StorageClassContains applies the Contains predicate on the "storage_class" field.
func StorageClassContains(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldContains(FieldStorageClass, v))
}
// StorageClassHasPrefix applies the HasPrefix predicate on the "storage_class" field.
func StorageClassHasPrefix(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldHasPrefix(FieldStorageClass, v))
}
// StorageClassHasSuffix applies the HasSuffix predicate on the "storage_class" field.
func StorageClassHasSuffix(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldHasSuffix(FieldStorageClass, v))
}
// StorageClassEqualFold applies the EqualFold predicate on the "storage_class" field.
func StorageClassEqualFold(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEqualFold(FieldStorageClass, v))
}
// StorageClassContainsFold applies the ContainsFold predicate on the "storage_class" field.
func StorageClassContainsFold(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldContainsFold(FieldStorageClass, v))
}
// StatusEQ applies the EQ predicate on the "status" field.
func StatusEQ(v int8) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldStatus, v))
}
// StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNEQ(v int8) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNEQ(FieldStatus, v))
}
// StatusIn applies the In predicate on the "status" field.
func StatusIn(vs ...int8) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIn(FieldStatus, vs...))
}
// StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotIn(vs ...int8) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotIn(FieldStatus, vs...))
}
// StatusGT applies the GT predicate on the "status" field.
func StatusGT(v int8) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGT(FieldStatus, v))
}
// StatusGTE applies the GTE predicate on the "status" field.
func StatusGTE(v int8) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGTE(FieldStatus, v))
}
// StatusLT applies the LT predicate on the "status" field.
func StatusLT(v int8) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLT(FieldStatus, v))
}
// StatusLTE applies the LTE predicate on the "status" field.
func StatusLTE(v int8) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLTE(FieldStatus, v))
}
// PayloadSizeEQ applies the EQ predicate on the "payload_size" field.
func PayloadSizeEQ(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldPayloadSize, v))
}
// PayloadSizeNEQ applies the NEQ predicate on the "payload_size" field.
func PayloadSizeNEQ(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNEQ(FieldPayloadSize, v))
}
// PayloadSizeIn applies the In predicate on the "payload_size" field.
func PayloadSizeIn(vs ...int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIn(FieldPayloadSize, vs...))
}
// PayloadSizeNotIn applies the NotIn predicate on the "payload_size" field.
func PayloadSizeNotIn(vs ...int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotIn(FieldPayloadSize, vs...))
}
// PayloadSizeGT applies the GT predicate on the "payload_size" field.
func PayloadSizeGT(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGT(FieldPayloadSize, v))
}
// PayloadSizeGTE applies the GTE predicate on the "payload_size" field.
func PayloadSizeGTE(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGTE(FieldPayloadSize, v))
}
// PayloadSizeLT applies the LT predicate on the "payload_size" field.
func PayloadSizeLT(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLT(FieldPayloadSize, v))
}
// PayloadSizeLTE applies the LTE predicate on the "payload_size" field.
func PayloadSizeLTE(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLTE(FieldPayloadSize, v))
}
// MetadataSizeEQ applies the EQ predicate on the "metadata_size" field.
func MetadataSizeEQ(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldMetadataSize, v))
}
// MetadataSizeNEQ applies the NEQ predicate on the "metadata_size" field.
func MetadataSizeNEQ(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNEQ(FieldMetadataSize, v))
}
// MetadataSizeIn applies the In predicate on the "metadata_size" field.
func MetadataSizeIn(vs ...int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIn(FieldMetadataSize, vs...))
}
// MetadataSizeNotIn applies the NotIn predicate on the "metadata_size" field.
func MetadataSizeNotIn(vs ...int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotIn(FieldMetadataSize, vs...))
}
// MetadataSizeGT applies the GT predicate on the "metadata_size" field.
func MetadataSizeGT(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGT(FieldMetadataSize, v))
}
// MetadataSizeGTE applies the GTE predicate on the "metadata_size" field.
func MetadataSizeGTE(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGTE(FieldMetadataSize, v))
}
// MetadataSizeLT applies the LT predicate on the "metadata_size" field.
func MetadataSizeLT(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLT(FieldMetadataSize, v))
}
// MetadataSizeLTE applies the LTE predicate on the "metadata_size" field.
func MetadataSizeLTE(v int64) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLTE(FieldMetadataSize, v))
}
// ObjectCountEQ applies the EQ predicate on the "object_count" field.
func ObjectCountEQ(v int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldObjectCount, v))
}
// ObjectCountNEQ applies the NEQ predicate on the "object_count" field.
func ObjectCountNEQ(v int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNEQ(FieldObjectCount, v))
}
// ObjectCountIn applies the In predicate on the "object_count" field.
func ObjectCountIn(vs ...int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIn(FieldObjectCount, vs...))
}
// ObjectCountNotIn applies the NotIn predicate on the "object_count" field.
func ObjectCountNotIn(vs ...int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotIn(FieldObjectCount, vs...))
}
// ObjectCountGT applies the GT predicate on the "object_count" field.
func ObjectCountGT(v int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGT(FieldObjectCount, v))
}
// ObjectCountGTE applies the GTE predicate on the "object_count" field.
func ObjectCountGTE(v int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGTE(FieldObjectCount, v))
}
// ObjectCountLT applies the LT predicate on the "object_count" field.
func ObjectCountLT(v int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLT(FieldObjectCount, v))
}
// ObjectCountLTE applies the LTE predicate on the "object_count" field.
func ObjectCountLTE(v int) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLTE(FieldObjectCount, v))
}
// RemarkEQ applies the EQ predicate on the "remark" field.
func RemarkEQ(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldRemark, v))
}
// RemarkNEQ applies the NEQ predicate on the "remark" field.
func RemarkNEQ(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNEQ(FieldRemark, v))
}
// RemarkIn applies the In predicate on the "remark" field.
func RemarkIn(vs ...string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIn(FieldRemark, vs...))
}
// RemarkNotIn applies the NotIn predicate on the "remark" field.
func RemarkNotIn(vs ...string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotIn(FieldRemark, vs...))
}
// RemarkGT applies the GT predicate on the "remark" field.
func RemarkGT(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGT(FieldRemark, v))
}
// RemarkGTE applies the GTE predicate on the "remark" field.
func RemarkGTE(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGTE(FieldRemark, v))
}
// RemarkLT applies the LT predicate on the "remark" field.
func RemarkLT(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLT(FieldRemark, v))
}
// RemarkLTE applies the LTE predicate on the "remark" field.
func RemarkLTE(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLTE(FieldRemark, v))
}
// RemarkContains applies the Contains predicate on the "remark" field.
func RemarkContains(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldContains(FieldRemark, v))
}
// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
func RemarkHasPrefix(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldHasPrefix(FieldRemark, v))
}
// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
func RemarkHasSuffix(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldHasSuffix(FieldRemark, v))
}
// RemarkIsNil applies the IsNil predicate on the "remark" field.
func RemarkIsNil() predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIsNull(FieldRemark))
}
// RemarkNotNil applies the NotNil predicate on the "remark" field.
func RemarkNotNil() predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotNull(FieldRemark))
}
// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
func RemarkEqualFold(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEqualFold(FieldRemark, v))
}
// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
func RemarkContainsFold(v string) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldContainsFold(FieldRemark, v))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLTE(FieldCreatedAt, v))
}
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldEQ(FieldUpdatedAt, v))
}
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNEQ(FieldUpdatedAt, v))
}
// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldIn(FieldUpdatedAt, vs...))
}
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldNotIn(FieldUpdatedAt, vs...))
}
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGT(FieldUpdatedAt, v))
}
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldGTE(FieldUpdatedAt, v))
}
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLT(FieldUpdatedAt, v))
}
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v time.Time) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.FieldLTE(FieldUpdatedAt, v))
}
// HasCloudflareAccount applies the HasEdge predicate on the "cloudflare_account" edge.
func HasCloudflareAccount() predicate.CloudflareR2 {
return predicate.CloudflareR2(func(s *sql.Selector) {
step := sqlgraph.NewStep(
sqlgraph.From(Table, FieldID),
sqlgraph.Edge(sqlgraph.M2O, true, CloudflareAccountTable, CloudflareAccountColumn),
)
sqlgraph.HasNeighbors(s, step)
})
}
// HasCloudflareAccountWith applies the HasEdge predicate on the "cloudflare_account" edge with a given conditions (other predicates).
func HasCloudflareAccountWith(preds ...predicate.CloudflareAccounts) predicate.CloudflareR2 {
return predicate.CloudflareR2(func(s *sql.Selector) {
step := newCloudflareAccountStep()
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.CloudflareR2) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.AndPredicates(predicates...))
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.CloudflareR2) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.OrPredicates(predicates...))
}
// Not applies the not operator on the given predicate.
func Not(p predicate.CloudflareR2) predicate.CloudflareR2 {
return predicate.CloudflareR2(sql.NotPredicates(p))
}