1
0
api/ent/ma/where.go
2024-04-25 14:05:59 +09:00

1812 lines
57 KiB
Go

// Code generated by ent, DO NOT EDIT.
package ma
import (
"api/ent/predicate"
"time"
"entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph"
)
// ID filters vertices based on their ID field.
func ID(id int) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id int) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id int) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...int) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...int) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id int) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id int) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id int) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id int) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldID, id))
}
// Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func Password(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldPassword, v))
}
// Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func Token(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldToken, v))
}
// Limit applies equality check predicate on the "limit" field. It's identical to LimitEQ.
func Limit(v bool) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldLimit, v))
}
// Count applies equality check predicate on the "count" field. It's identical to CountEQ.
func Count(v int) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldCount, v))
}
// Handle applies equality check predicate on the "handle" field. It's identical to HandleEQ.
func Handle(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldHandle, v))
}
// Text applies equality check predicate on the "text" field. It's identical to TextEQ.
func Text(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldText, v))
}
// Did applies equality check predicate on the "did" field. It's identical to DidEQ.
func Did(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldDid, v))
}
// Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
func Avatar(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldAvatar, v))
}
// Cid applies equality check predicate on the "cid" field. It's identical to CidEQ.
func Cid(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldCid, v))
}
// URI applies equality check predicate on the "uri" field. It's identical to URIEQ.
func URI(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldURI, v))
}
// CidRoot applies equality check predicate on the "cid_root" field. It's identical to CidRootEQ.
func CidRoot(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldCidRoot, v))
}
// URIRoot applies equality check predicate on the "uri_root" field. It's identical to URIRootEQ.
func URIRoot(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldURIRoot, v))
}
// Root applies equality check predicate on the "root" field. It's identical to RootEQ.
func Root(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldRoot, v))
}
// Rkey applies equality check predicate on the "rkey" field. It's identical to RkeyEQ.
func Rkey(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldRkey, v))
}
// BskyURL applies equality check predicate on the "bsky_url" field. It's identical to BskyURLEQ.
func BskyURL(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldBskyURL, v))
}
// Comment applies equality check predicate on the "comment" field. It's identical to CommentEQ.
func Comment(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldComment, v))
}
// Blog applies equality check predicate on the "blog" field. It's identical to BlogEQ.
func Blog(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldBlog, v))
}
// BlogURL applies equality check predicate on the "blog_url" field. It's identical to BlogURLEQ.
func BlogURL(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldBlogURL, v))
}
// Domain applies equality check predicate on the "domain" field. It's identical to DomainEQ.
func Domain(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldDomain, v))
}
// Host applies equality check predicate on the "host" field. It's identical to HostEQ.
func Host(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldHost, v))
}
// Feed applies equality check predicate on the "feed" field. It's identical to FeedEQ.
func Feed(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldFeed, v))
}
// UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAt(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldUpdatedAt, v))
}
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAt(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldCreatedAt, v))
}
// PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldPassword, v))
}
// PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldPassword, v))
}
// PasswordIn applies the In predicate on the "password" field.
func PasswordIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldPassword, vs...))
}
// PasswordNotIn applies the NotIn predicate on the "password" field.
func PasswordNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldPassword, vs...))
}
// PasswordGT applies the GT predicate on the "password" field.
func PasswordGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldPassword, v))
}
// PasswordGTE applies the GTE predicate on the "password" field.
func PasswordGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldPassword, v))
}
// PasswordLT applies the LT predicate on the "password" field.
func PasswordLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldPassword, v))
}
// PasswordLTE applies the LTE predicate on the "password" field.
func PasswordLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldPassword, v))
}
// PasswordContains applies the Contains predicate on the "password" field.
func PasswordContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldPassword, v))
}
// PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldPassword, v))
}
// PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldPassword, v))
}
// PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldPassword, v))
}
// PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldPassword, v))
}
// TokenEQ applies the EQ predicate on the "token" field.
func TokenEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldToken, v))
}
// TokenNEQ applies the NEQ predicate on the "token" field.
func TokenNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldToken, v))
}
// TokenIn applies the In predicate on the "token" field.
func TokenIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldToken, vs...))
}
// TokenNotIn applies the NotIn predicate on the "token" field.
func TokenNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldToken, vs...))
}
// TokenGT applies the GT predicate on the "token" field.
func TokenGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldToken, v))
}
// TokenGTE applies the GTE predicate on the "token" field.
func TokenGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldToken, v))
}
// TokenLT applies the LT predicate on the "token" field.
func TokenLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldToken, v))
}
// TokenLTE applies the LTE predicate on the "token" field.
func TokenLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldToken, v))
}
// TokenContains applies the Contains predicate on the "token" field.
func TokenContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldToken, v))
}
// TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldToken, v))
}
// TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldToken, v))
}
// TokenIsNil applies the IsNil predicate on the "token" field.
func TokenIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldToken))
}
// TokenNotNil applies the NotNil predicate on the "token" field.
func TokenNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldToken))
}
// TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldToken, v))
}
// TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldToken, v))
}
// LimitEQ applies the EQ predicate on the "limit" field.
func LimitEQ(v bool) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldLimit, v))
}
// LimitNEQ applies the NEQ predicate on the "limit" field.
func LimitNEQ(v bool) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldLimit, v))
}
// LimitIsNil applies the IsNil predicate on the "limit" field.
func LimitIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldLimit))
}
// LimitNotNil applies the NotNil predicate on the "limit" field.
func LimitNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldLimit))
}
// CountEQ applies the EQ predicate on the "count" field.
func CountEQ(v int) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldCount, v))
}
// CountNEQ applies the NEQ predicate on the "count" field.
func CountNEQ(v int) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldCount, v))
}
// CountIn applies the In predicate on the "count" field.
func CountIn(vs ...int) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldCount, vs...))
}
// CountNotIn applies the NotIn predicate on the "count" field.
func CountNotIn(vs ...int) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldCount, vs...))
}
// CountGT applies the GT predicate on the "count" field.
func CountGT(v int) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldCount, v))
}
// CountGTE applies the GTE predicate on the "count" field.
func CountGTE(v int) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldCount, v))
}
// CountLT applies the LT predicate on the "count" field.
func CountLT(v int) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldCount, v))
}
// CountLTE applies the LTE predicate on the "count" field.
func CountLTE(v int) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldCount, v))
}
// CountIsNil applies the IsNil predicate on the "count" field.
func CountIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldCount))
}
// CountNotNil applies the NotNil predicate on the "count" field.
func CountNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldCount))
}
// HandleEQ applies the EQ predicate on the "handle" field.
func HandleEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldHandle, v))
}
// HandleNEQ applies the NEQ predicate on the "handle" field.
func HandleNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldHandle, v))
}
// HandleIn applies the In predicate on the "handle" field.
func HandleIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldHandle, vs...))
}
// HandleNotIn applies the NotIn predicate on the "handle" field.
func HandleNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldHandle, vs...))
}
// HandleGT applies the GT predicate on the "handle" field.
func HandleGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldHandle, v))
}
// HandleGTE applies the GTE predicate on the "handle" field.
func HandleGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldHandle, v))
}
// HandleLT applies the LT predicate on the "handle" field.
func HandleLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldHandle, v))
}
// HandleLTE applies the LTE predicate on the "handle" field.
func HandleLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldHandle, v))
}
// HandleContains applies the Contains predicate on the "handle" field.
func HandleContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldHandle, v))
}
// HandleHasPrefix applies the HasPrefix predicate on the "handle" field.
func HandleHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldHandle, v))
}
// HandleHasSuffix applies the HasSuffix predicate on the "handle" field.
func HandleHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldHandle, v))
}
// HandleIsNil applies the IsNil predicate on the "handle" field.
func HandleIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldHandle))
}
// HandleNotNil applies the NotNil predicate on the "handle" field.
func HandleNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldHandle))
}
// HandleEqualFold applies the EqualFold predicate on the "handle" field.
func HandleEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldHandle, v))
}
// HandleContainsFold applies the ContainsFold predicate on the "handle" field.
func HandleContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldHandle, v))
}
// TextEQ applies the EQ predicate on the "text" field.
func TextEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldText, v))
}
// TextNEQ applies the NEQ predicate on the "text" field.
func TextNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldText, v))
}
// TextIn applies the In predicate on the "text" field.
func TextIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldText, vs...))
}
// TextNotIn applies the NotIn predicate on the "text" field.
func TextNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldText, vs...))
}
// TextGT applies the GT predicate on the "text" field.
func TextGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldText, v))
}
// TextGTE applies the GTE predicate on the "text" field.
func TextGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldText, v))
}
// TextLT applies the LT predicate on the "text" field.
func TextLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldText, v))
}
// TextLTE applies the LTE predicate on the "text" field.
func TextLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldText, v))
}
// TextContains applies the Contains predicate on the "text" field.
func TextContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldText, v))
}
// TextHasPrefix applies the HasPrefix predicate on the "text" field.
func TextHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldText, v))
}
// TextHasSuffix applies the HasSuffix predicate on the "text" field.
func TextHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldText, v))
}
// TextIsNil applies the IsNil predicate on the "text" field.
func TextIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldText))
}
// TextNotNil applies the NotNil predicate on the "text" field.
func TextNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldText))
}
// TextEqualFold applies the EqualFold predicate on the "text" field.
func TextEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldText, v))
}
// TextContainsFold applies the ContainsFold predicate on the "text" field.
func TextContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldText, v))
}
// DidEQ applies the EQ predicate on the "did" field.
func DidEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldDid, v))
}
// DidNEQ applies the NEQ predicate on the "did" field.
func DidNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldDid, v))
}
// DidIn applies the In predicate on the "did" field.
func DidIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldDid, vs...))
}
// DidNotIn applies the NotIn predicate on the "did" field.
func DidNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldDid, vs...))
}
// DidGT applies the GT predicate on the "did" field.
func DidGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldDid, v))
}
// DidGTE applies the GTE predicate on the "did" field.
func DidGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldDid, v))
}
// DidLT applies the LT predicate on the "did" field.
func DidLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldDid, v))
}
// DidLTE applies the LTE predicate on the "did" field.
func DidLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldDid, v))
}
// DidContains applies the Contains predicate on the "did" field.
func DidContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldDid, v))
}
// DidHasPrefix applies the HasPrefix predicate on the "did" field.
func DidHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldDid, v))
}
// DidHasSuffix applies the HasSuffix predicate on the "did" field.
func DidHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldDid, v))
}
// DidIsNil applies the IsNil predicate on the "did" field.
func DidIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldDid))
}
// DidNotNil applies the NotNil predicate on the "did" field.
func DidNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldDid))
}
// DidEqualFold applies the EqualFold predicate on the "did" field.
func DidEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldDid, v))
}
// DidContainsFold applies the ContainsFold predicate on the "did" field.
func DidContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldDid, v))
}
// AvatarEQ applies the EQ predicate on the "avatar" field.
func AvatarEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldAvatar, v))
}
// AvatarNEQ applies the NEQ predicate on the "avatar" field.
func AvatarNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldAvatar, v))
}
// AvatarIn applies the In predicate on the "avatar" field.
func AvatarIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldAvatar, vs...))
}
// AvatarNotIn applies the NotIn predicate on the "avatar" field.
func AvatarNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldAvatar, vs...))
}
// AvatarGT applies the GT predicate on the "avatar" field.
func AvatarGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldAvatar, v))
}
// AvatarGTE applies the GTE predicate on the "avatar" field.
func AvatarGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldAvatar, v))
}
// AvatarLT applies the LT predicate on the "avatar" field.
func AvatarLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldAvatar, v))
}
// AvatarLTE applies the LTE predicate on the "avatar" field.
func AvatarLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldAvatar, v))
}
// AvatarContains applies the Contains predicate on the "avatar" field.
func AvatarContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldAvatar, v))
}
// AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
func AvatarHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldAvatar, v))
}
// AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
func AvatarHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldAvatar, v))
}
// AvatarIsNil applies the IsNil predicate on the "avatar" field.
func AvatarIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldAvatar))
}
// AvatarNotNil applies the NotNil predicate on the "avatar" field.
func AvatarNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldAvatar))
}
// AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
func AvatarEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldAvatar, v))
}
// AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
func AvatarContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldAvatar, v))
}
// CidEQ applies the EQ predicate on the "cid" field.
func CidEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldCid, v))
}
// CidNEQ applies the NEQ predicate on the "cid" field.
func CidNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldCid, v))
}
// CidIn applies the In predicate on the "cid" field.
func CidIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldCid, vs...))
}
// CidNotIn applies the NotIn predicate on the "cid" field.
func CidNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldCid, vs...))
}
// CidGT applies the GT predicate on the "cid" field.
func CidGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldCid, v))
}
// CidGTE applies the GTE predicate on the "cid" field.
func CidGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldCid, v))
}
// CidLT applies the LT predicate on the "cid" field.
func CidLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldCid, v))
}
// CidLTE applies the LTE predicate on the "cid" field.
func CidLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldCid, v))
}
// CidContains applies the Contains predicate on the "cid" field.
func CidContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldCid, v))
}
// CidHasPrefix applies the HasPrefix predicate on the "cid" field.
func CidHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldCid, v))
}
// CidHasSuffix applies the HasSuffix predicate on the "cid" field.
func CidHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldCid, v))
}
// CidIsNil applies the IsNil predicate on the "cid" field.
func CidIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldCid))
}
// CidNotNil applies the NotNil predicate on the "cid" field.
func CidNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldCid))
}
// CidEqualFold applies the EqualFold predicate on the "cid" field.
func CidEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldCid, v))
}
// CidContainsFold applies the ContainsFold predicate on the "cid" field.
func CidContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldCid, v))
}
// URIEQ applies the EQ predicate on the "uri" field.
func URIEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldURI, v))
}
// URINEQ applies the NEQ predicate on the "uri" field.
func URINEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldURI, v))
}
// URIIn applies the In predicate on the "uri" field.
func URIIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldURI, vs...))
}
// URINotIn applies the NotIn predicate on the "uri" field.
func URINotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldURI, vs...))
}
// URIGT applies the GT predicate on the "uri" field.
func URIGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldURI, v))
}
// URIGTE applies the GTE predicate on the "uri" field.
func URIGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldURI, v))
}
// URILT applies the LT predicate on the "uri" field.
func URILT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldURI, v))
}
// URILTE applies the LTE predicate on the "uri" field.
func URILTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldURI, v))
}
// URIContains applies the Contains predicate on the "uri" field.
func URIContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldURI, v))
}
// URIHasPrefix applies the HasPrefix predicate on the "uri" field.
func URIHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldURI, v))
}
// URIHasSuffix applies the HasSuffix predicate on the "uri" field.
func URIHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldURI, v))
}
// URIIsNil applies the IsNil predicate on the "uri" field.
func URIIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldURI))
}
// URINotNil applies the NotNil predicate on the "uri" field.
func URINotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldURI))
}
// URIEqualFold applies the EqualFold predicate on the "uri" field.
func URIEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldURI, v))
}
// URIContainsFold applies the ContainsFold predicate on the "uri" field.
func URIContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldURI, v))
}
// CidRootEQ applies the EQ predicate on the "cid_root" field.
func CidRootEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldCidRoot, v))
}
// CidRootNEQ applies the NEQ predicate on the "cid_root" field.
func CidRootNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldCidRoot, v))
}
// CidRootIn applies the In predicate on the "cid_root" field.
func CidRootIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldCidRoot, vs...))
}
// CidRootNotIn applies the NotIn predicate on the "cid_root" field.
func CidRootNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldCidRoot, vs...))
}
// CidRootGT applies the GT predicate on the "cid_root" field.
func CidRootGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldCidRoot, v))
}
// CidRootGTE applies the GTE predicate on the "cid_root" field.
func CidRootGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldCidRoot, v))
}
// CidRootLT applies the LT predicate on the "cid_root" field.
func CidRootLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldCidRoot, v))
}
// CidRootLTE applies the LTE predicate on the "cid_root" field.
func CidRootLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldCidRoot, v))
}
// CidRootContains applies the Contains predicate on the "cid_root" field.
func CidRootContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldCidRoot, v))
}
// CidRootHasPrefix applies the HasPrefix predicate on the "cid_root" field.
func CidRootHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldCidRoot, v))
}
// CidRootHasSuffix applies the HasSuffix predicate on the "cid_root" field.
func CidRootHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldCidRoot, v))
}
// CidRootIsNil applies the IsNil predicate on the "cid_root" field.
func CidRootIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldCidRoot))
}
// CidRootNotNil applies the NotNil predicate on the "cid_root" field.
func CidRootNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldCidRoot))
}
// CidRootEqualFold applies the EqualFold predicate on the "cid_root" field.
func CidRootEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldCidRoot, v))
}
// CidRootContainsFold applies the ContainsFold predicate on the "cid_root" field.
func CidRootContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldCidRoot, v))
}
// URIRootEQ applies the EQ predicate on the "uri_root" field.
func URIRootEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldURIRoot, v))
}
// URIRootNEQ applies the NEQ predicate on the "uri_root" field.
func URIRootNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldURIRoot, v))
}
// URIRootIn applies the In predicate on the "uri_root" field.
func URIRootIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldURIRoot, vs...))
}
// URIRootNotIn applies the NotIn predicate on the "uri_root" field.
func URIRootNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldURIRoot, vs...))
}
// URIRootGT applies the GT predicate on the "uri_root" field.
func URIRootGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldURIRoot, v))
}
// URIRootGTE applies the GTE predicate on the "uri_root" field.
func URIRootGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldURIRoot, v))
}
// URIRootLT applies the LT predicate on the "uri_root" field.
func URIRootLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldURIRoot, v))
}
// URIRootLTE applies the LTE predicate on the "uri_root" field.
func URIRootLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldURIRoot, v))
}
// URIRootContains applies the Contains predicate on the "uri_root" field.
func URIRootContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldURIRoot, v))
}
// URIRootHasPrefix applies the HasPrefix predicate on the "uri_root" field.
func URIRootHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldURIRoot, v))
}
// URIRootHasSuffix applies the HasSuffix predicate on the "uri_root" field.
func URIRootHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldURIRoot, v))
}
// URIRootIsNil applies the IsNil predicate on the "uri_root" field.
func URIRootIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldURIRoot))
}
// URIRootNotNil applies the NotNil predicate on the "uri_root" field.
func URIRootNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldURIRoot))
}
// URIRootEqualFold applies the EqualFold predicate on the "uri_root" field.
func URIRootEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldURIRoot, v))
}
// URIRootContainsFold applies the ContainsFold predicate on the "uri_root" field.
func URIRootContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldURIRoot, v))
}
// RootEQ applies the EQ predicate on the "root" field.
func RootEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldRoot, v))
}
// RootNEQ applies the NEQ predicate on the "root" field.
func RootNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldRoot, v))
}
// RootIn applies the In predicate on the "root" field.
func RootIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldRoot, vs...))
}
// RootNotIn applies the NotIn predicate on the "root" field.
func RootNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldRoot, vs...))
}
// RootGT applies the GT predicate on the "root" field.
func RootGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldRoot, v))
}
// RootGTE applies the GTE predicate on the "root" field.
func RootGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldRoot, v))
}
// RootLT applies the LT predicate on the "root" field.
func RootLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldRoot, v))
}
// RootLTE applies the LTE predicate on the "root" field.
func RootLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldRoot, v))
}
// RootContains applies the Contains predicate on the "root" field.
func RootContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldRoot, v))
}
// RootHasPrefix applies the HasPrefix predicate on the "root" field.
func RootHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldRoot, v))
}
// RootHasSuffix applies the HasSuffix predicate on the "root" field.
func RootHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldRoot, v))
}
// RootIsNil applies the IsNil predicate on the "root" field.
func RootIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldRoot))
}
// RootNotNil applies the NotNil predicate on the "root" field.
func RootNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldRoot))
}
// RootEqualFold applies the EqualFold predicate on the "root" field.
func RootEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldRoot, v))
}
// RootContainsFold applies the ContainsFold predicate on the "root" field.
func RootContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldRoot, v))
}
// RkeyEQ applies the EQ predicate on the "rkey" field.
func RkeyEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldRkey, v))
}
// RkeyNEQ applies the NEQ predicate on the "rkey" field.
func RkeyNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldRkey, v))
}
// RkeyIn applies the In predicate on the "rkey" field.
func RkeyIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldRkey, vs...))
}
// RkeyNotIn applies the NotIn predicate on the "rkey" field.
func RkeyNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldRkey, vs...))
}
// RkeyGT applies the GT predicate on the "rkey" field.
func RkeyGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldRkey, v))
}
// RkeyGTE applies the GTE predicate on the "rkey" field.
func RkeyGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldRkey, v))
}
// RkeyLT applies the LT predicate on the "rkey" field.
func RkeyLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldRkey, v))
}
// RkeyLTE applies the LTE predicate on the "rkey" field.
func RkeyLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldRkey, v))
}
// RkeyContains applies the Contains predicate on the "rkey" field.
func RkeyContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldRkey, v))
}
// RkeyHasPrefix applies the HasPrefix predicate on the "rkey" field.
func RkeyHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldRkey, v))
}
// RkeyHasSuffix applies the HasSuffix predicate on the "rkey" field.
func RkeyHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldRkey, v))
}
// RkeyIsNil applies the IsNil predicate on the "rkey" field.
func RkeyIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldRkey))
}
// RkeyNotNil applies the NotNil predicate on the "rkey" field.
func RkeyNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldRkey))
}
// RkeyEqualFold applies the EqualFold predicate on the "rkey" field.
func RkeyEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldRkey, v))
}
// RkeyContainsFold applies the ContainsFold predicate on the "rkey" field.
func RkeyContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldRkey, v))
}
// BskyURLEQ applies the EQ predicate on the "bsky_url" field.
func BskyURLEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldBskyURL, v))
}
// BskyURLNEQ applies the NEQ predicate on the "bsky_url" field.
func BskyURLNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldBskyURL, v))
}
// BskyURLIn applies the In predicate on the "bsky_url" field.
func BskyURLIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldBskyURL, vs...))
}
// BskyURLNotIn applies the NotIn predicate on the "bsky_url" field.
func BskyURLNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldBskyURL, vs...))
}
// BskyURLGT applies the GT predicate on the "bsky_url" field.
func BskyURLGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldBskyURL, v))
}
// BskyURLGTE applies the GTE predicate on the "bsky_url" field.
func BskyURLGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldBskyURL, v))
}
// BskyURLLT applies the LT predicate on the "bsky_url" field.
func BskyURLLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldBskyURL, v))
}
// BskyURLLTE applies the LTE predicate on the "bsky_url" field.
func BskyURLLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldBskyURL, v))
}
// BskyURLContains applies the Contains predicate on the "bsky_url" field.
func BskyURLContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldBskyURL, v))
}
// BskyURLHasPrefix applies the HasPrefix predicate on the "bsky_url" field.
func BskyURLHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldBskyURL, v))
}
// BskyURLHasSuffix applies the HasSuffix predicate on the "bsky_url" field.
func BskyURLHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldBskyURL, v))
}
// BskyURLIsNil applies the IsNil predicate on the "bsky_url" field.
func BskyURLIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldBskyURL))
}
// BskyURLNotNil applies the NotNil predicate on the "bsky_url" field.
func BskyURLNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldBskyURL))
}
// BskyURLEqualFold applies the EqualFold predicate on the "bsky_url" field.
func BskyURLEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldBskyURL, v))
}
// BskyURLContainsFold applies the ContainsFold predicate on the "bsky_url" field.
func BskyURLContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldBskyURL, v))
}
// CommentEQ applies the EQ predicate on the "comment" field.
func CommentEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldComment, v))
}
// CommentNEQ applies the NEQ predicate on the "comment" field.
func CommentNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldComment, v))
}
// CommentIn applies the In predicate on the "comment" field.
func CommentIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldComment, vs...))
}
// CommentNotIn applies the NotIn predicate on the "comment" field.
func CommentNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldComment, vs...))
}
// CommentGT applies the GT predicate on the "comment" field.
func CommentGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldComment, v))
}
// CommentGTE applies the GTE predicate on the "comment" field.
func CommentGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldComment, v))
}
// CommentLT applies the LT predicate on the "comment" field.
func CommentLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldComment, v))
}
// CommentLTE applies the LTE predicate on the "comment" field.
func CommentLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldComment, v))
}
// CommentContains applies the Contains predicate on the "comment" field.
func CommentContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldComment, v))
}
// CommentHasPrefix applies the HasPrefix predicate on the "comment" field.
func CommentHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldComment, v))
}
// CommentHasSuffix applies the HasSuffix predicate on the "comment" field.
func CommentHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldComment, v))
}
// CommentIsNil applies the IsNil predicate on the "comment" field.
func CommentIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldComment))
}
// CommentNotNil applies the NotNil predicate on the "comment" field.
func CommentNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldComment))
}
// CommentEqualFold applies the EqualFold predicate on the "comment" field.
func CommentEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldComment, v))
}
// CommentContainsFold applies the ContainsFold predicate on the "comment" field.
func CommentContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldComment, v))
}
// BlogEQ applies the EQ predicate on the "blog" field.
func BlogEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldBlog, v))
}
// BlogNEQ applies the NEQ predicate on the "blog" field.
func BlogNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldBlog, v))
}
// BlogIn applies the In predicate on the "blog" field.
func BlogIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldBlog, vs...))
}
// BlogNotIn applies the NotIn predicate on the "blog" field.
func BlogNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldBlog, vs...))
}
// BlogGT applies the GT predicate on the "blog" field.
func BlogGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldBlog, v))
}
// BlogGTE applies the GTE predicate on the "blog" field.
func BlogGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldBlog, v))
}
// BlogLT applies the LT predicate on the "blog" field.
func BlogLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldBlog, v))
}
// BlogLTE applies the LTE predicate on the "blog" field.
func BlogLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldBlog, v))
}
// BlogContains applies the Contains predicate on the "blog" field.
func BlogContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldBlog, v))
}
// BlogHasPrefix applies the HasPrefix predicate on the "blog" field.
func BlogHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldBlog, v))
}
// BlogHasSuffix applies the HasSuffix predicate on the "blog" field.
func BlogHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldBlog, v))
}
// BlogIsNil applies the IsNil predicate on the "blog" field.
func BlogIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldBlog))
}
// BlogNotNil applies the NotNil predicate on the "blog" field.
func BlogNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldBlog))
}
// BlogEqualFold applies the EqualFold predicate on the "blog" field.
func BlogEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldBlog, v))
}
// BlogContainsFold applies the ContainsFold predicate on the "blog" field.
func BlogContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldBlog, v))
}
// BlogURLEQ applies the EQ predicate on the "blog_url" field.
func BlogURLEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldBlogURL, v))
}
// BlogURLNEQ applies the NEQ predicate on the "blog_url" field.
func BlogURLNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldBlogURL, v))
}
// BlogURLIn applies the In predicate on the "blog_url" field.
func BlogURLIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldBlogURL, vs...))
}
// BlogURLNotIn applies the NotIn predicate on the "blog_url" field.
func BlogURLNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldBlogURL, vs...))
}
// BlogURLGT applies the GT predicate on the "blog_url" field.
func BlogURLGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldBlogURL, v))
}
// BlogURLGTE applies the GTE predicate on the "blog_url" field.
func BlogURLGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldBlogURL, v))
}
// BlogURLLT applies the LT predicate on the "blog_url" field.
func BlogURLLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldBlogURL, v))
}
// BlogURLLTE applies the LTE predicate on the "blog_url" field.
func BlogURLLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldBlogURL, v))
}
// BlogURLContains applies the Contains predicate on the "blog_url" field.
func BlogURLContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldBlogURL, v))
}
// BlogURLHasPrefix applies the HasPrefix predicate on the "blog_url" field.
func BlogURLHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldBlogURL, v))
}
// BlogURLHasSuffix applies the HasSuffix predicate on the "blog_url" field.
func BlogURLHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldBlogURL, v))
}
// BlogURLIsNil applies the IsNil predicate on the "blog_url" field.
func BlogURLIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldBlogURL))
}
// BlogURLNotNil applies the NotNil predicate on the "blog_url" field.
func BlogURLNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldBlogURL))
}
// BlogURLEqualFold applies the EqualFold predicate on the "blog_url" field.
func BlogURLEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldBlogURL, v))
}
// BlogURLContainsFold applies the ContainsFold predicate on the "blog_url" field.
func BlogURLContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldBlogURL, v))
}
// DomainEQ applies the EQ predicate on the "domain" field.
func DomainEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldDomain, v))
}
// DomainNEQ applies the NEQ predicate on the "domain" field.
func DomainNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldDomain, v))
}
// DomainIn applies the In predicate on the "domain" field.
func DomainIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldDomain, vs...))
}
// DomainNotIn applies the NotIn predicate on the "domain" field.
func DomainNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldDomain, vs...))
}
// DomainGT applies the GT predicate on the "domain" field.
func DomainGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldDomain, v))
}
// DomainGTE applies the GTE predicate on the "domain" field.
func DomainGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldDomain, v))
}
// DomainLT applies the LT predicate on the "domain" field.
func DomainLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldDomain, v))
}
// DomainLTE applies the LTE predicate on the "domain" field.
func DomainLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldDomain, v))
}
// DomainContains applies the Contains predicate on the "domain" field.
func DomainContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldDomain, v))
}
// DomainHasPrefix applies the HasPrefix predicate on the "domain" field.
func DomainHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldDomain, v))
}
// DomainHasSuffix applies the HasSuffix predicate on the "domain" field.
func DomainHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldDomain, v))
}
// DomainIsNil applies the IsNil predicate on the "domain" field.
func DomainIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldDomain))
}
// DomainNotNil applies the NotNil predicate on the "domain" field.
func DomainNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldDomain))
}
// DomainEqualFold applies the EqualFold predicate on the "domain" field.
func DomainEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldDomain, v))
}
// DomainContainsFold applies the ContainsFold predicate on the "domain" field.
func DomainContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldDomain, v))
}
// HostEQ applies the EQ predicate on the "host" field.
func HostEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldHost, v))
}
// HostNEQ applies the NEQ predicate on the "host" field.
func HostNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldHost, v))
}
// HostIn applies the In predicate on the "host" field.
func HostIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldHost, vs...))
}
// HostNotIn applies the NotIn predicate on the "host" field.
func HostNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldHost, vs...))
}
// HostGT applies the GT predicate on the "host" field.
func HostGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldHost, v))
}
// HostGTE applies the GTE predicate on the "host" field.
func HostGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldHost, v))
}
// HostLT applies the LT predicate on the "host" field.
func HostLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldHost, v))
}
// HostLTE applies the LTE predicate on the "host" field.
func HostLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldHost, v))
}
// HostContains applies the Contains predicate on the "host" field.
func HostContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldHost, v))
}
// HostHasPrefix applies the HasPrefix predicate on the "host" field.
func HostHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldHost, v))
}
// HostHasSuffix applies the HasSuffix predicate on the "host" field.
func HostHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldHost, v))
}
// HostIsNil applies the IsNil predicate on the "host" field.
func HostIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldHost))
}
// HostNotNil applies the NotNil predicate on the "host" field.
func HostNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldHost))
}
// HostEqualFold applies the EqualFold predicate on the "host" field.
func HostEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldHost, v))
}
// HostContainsFold applies the ContainsFold predicate on the "host" field.
func HostContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldHost, v))
}
// FeedEQ applies the EQ predicate on the "feed" field.
func FeedEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldFeed, v))
}
// FeedNEQ applies the NEQ predicate on the "feed" field.
func FeedNEQ(v string) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldFeed, v))
}
// FeedIn applies the In predicate on the "feed" field.
func FeedIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldFeed, vs...))
}
// FeedNotIn applies the NotIn predicate on the "feed" field.
func FeedNotIn(vs ...string) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldFeed, vs...))
}
// FeedGT applies the GT predicate on the "feed" field.
func FeedGT(v string) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldFeed, v))
}
// FeedGTE applies the GTE predicate on the "feed" field.
func FeedGTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldFeed, v))
}
// FeedLT applies the LT predicate on the "feed" field.
func FeedLT(v string) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldFeed, v))
}
// FeedLTE applies the LTE predicate on the "feed" field.
func FeedLTE(v string) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldFeed, v))
}
// FeedContains applies the Contains predicate on the "feed" field.
func FeedContains(v string) predicate.Ma {
return predicate.Ma(sql.FieldContains(FieldFeed, v))
}
// FeedHasPrefix applies the HasPrefix predicate on the "feed" field.
func FeedHasPrefix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasPrefix(FieldFeed, v))
}
// FeedHasSuffix applies the HasSuffix predicate on the "feed" field.
func FeedHasSuffix(v string) predicate.Ma {
return predicate.Ma(sql.FieldHasSuffix(FieldFeed, v))
}
// FeedIsNil applies the IsNil predicate on the "feed" field.
func FeedIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldFeed))
}
// FeedNotNil applies the NotNil predicate on the "feed" field.
func FeedNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldFeed))
}
// FeedEqualFold applies the EqualFold predicate on the "feed" field.
func FeedEqualFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldEqualFold(FieldFeed, v))
}
// FeedContainsFold applies the ContainsFold predicate on the "feed" field.
func FeedContainsFold(v string) predicate.Ma {
return predicate.Ma(sql.FieldContainsFold(FieldFeed, v))
}
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldUpdatedAt, v))
}
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldUpdatedAt, v))
}
// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...time.Time) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldUpdatedAt, vs...))
}
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...time.Time) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldUpdatedAt, vs...))
}
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldUpdatedAt, v))
}
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldUpdatedAt, v))
}
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldUpdatedAt, v))
}
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldUpdatedAt, v))
}
// UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldUpdatedAt))
}
// UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedAtNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldUpdatedAt))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...time.Time) predicate.Ma {
return predicate.Ma(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...time.Time) predicate.Ma {
return predicate.Ma(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v time.Time) predicate.Ma {
return predicate.Ma(sql.FieldLTE(FieldCreatedAt, v))
}
// CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtIsNil() predicate.Ma {
return predicate.Ma(sql.FieldIsNull(FieldCreatedAt))
}
// CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedAtNotNil() predicate.Ma {
return predicate.Ma(sql.FieldNotNull(FieldCreatedAt))
}
// HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwner() predicate.Ma {
return predicate.Ma(func(s *sql.Selector) {
step := sqlgraph.NewStep(
sqlgraph.From(Table, FieldID),
sqlgraph.Edge(sqlgraph.M2O, true, OwnerTable, OwnerColumn),
)
sqlgraph.HasNeighbors(s, step)
})
}
// HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasOwnerWith(preds ...predicate.User) predicate.Ma {
return predicate.Ma(func(s *sql.Selector) {
step := newOwnerStep()
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.Ma) predicate.Ma {
return predicate.Ma(func(s *sql.Selector) {
s1 := s.Clone().SetP(nil)
for _, p := range predicates {
p(s1)
}
s.Where(s1.P())
})
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.Ma) predicate.Ma {
return predicate.Ma(func(s *sql.Selector) {
s1 := s.Clone().SetP(nil)
for i, p := range predicates {
if i > 0 {
s1.Or()
}
p(s1)
}
s.Where(s1.P())
})
}
// Not applies the not operator on the given predicate.
func Not(p predicate.Ma) predicate.Ma {
return predicate.Ma(func(s *sql.Selector) {
p(s.Not())
})
}