// Code generated by ent, DO NOT EDIT. package emplacement import ( "time" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "gitea.maison43.duckdns.org/gilles/matosbox/internal/data/ent/predicate" "github.com/google/uuid" ) // ID filters vertices based on their ID field. func ID(id uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldLTE(FieldID, id)) } // Nom applies equality check predicate on the "nom" field. It's identical to NomEQ. func Nom(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldNom, v)) } // ParentID applies equality check predicate on the "parent_id" field. It's identical to ParentIDEQ. func ParentID(v uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldParentID, v)) } // Slug applies equality check predicate on the "slug" field. It's identical to SlugEQ. func Slug(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldSlug, v)) } // Piece applies equality check predicate on the "piece" field. It's identical to PieceEQ. func Piece(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldPiece, v)) } // Meuble applies equality check predicate on the "meuble" field. It's identical to MeubleEQ. func Meuble(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldMeuble, v)) } // NumeroBoite applies equality check predicate on the "numero_boite" field. It's identical to NumeroBoiteEQ. func NumeroBoite(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldNumeroBoite, v)) } // Icone applies equality check predicate on the "icone" field. It's identical to IconeEQ. func Icone(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldIcone, v)) } // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ. func CreatedAt(v time.Time) predicate.Emplacement { return predicate.Emplacement(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.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldUpdatedAt, v)) } // NomEQ applies the EQ predicate on the "nom" field. func NomEQ(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldNom, v)) } // NomNEQ applies the NEQ predicate on the "nom" field. func NomNEQ(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldNEQ(FieldNom, v)) } // NomIn applies the In predicate on the "nom" field. func NomIn(vs ...string) predicate.Emplacement { return predicate.Emplacement(sql.FieldIn(FieldNom, vs...)) } // NomNotIn applies the NotIn predicate on the "nom" field. func NomNotIn(vs ...string) predicate.Emplacement { return predicate.Emplacement(sql.FieldNotIn(FieldNom, vs...)) } // NomGT applies the GT predicate on the "nom" field. func NomGT(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldGT(FieldNom, v)) } // NomGTE applies the GTE predicate on the "nom" field. func NomGTE(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldGTE(FieldNom, v)) } // NomLT applies the LT predicate on the "nom" field. func NomLT(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldLT(FieldNom, v)) } // NomLTE applies the LTE predicate on the "nom" field. func NomLTE(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldLTE(FieldNom, v)) } // NomContains applies the Contains predicate on the "nom" field. func NomContains(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldContains(FieldNom, v)) } // NomHasPrefix applies the HasPrefix predicate on the "nom" field. func NomHasPrefix(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldHasPrefix(FieldNom, v)) } // NomHasSuffix applies the HasSuffix predicate on the "nom" field. func NomHasSuffix(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldHasSuffix(FieldNom, v)) } // NomEqualFold applies the EqualFold predicate on the "nom" field. func NomEqualFold(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEqualFold(FieldNom, v)) } // NomContainsFold applies the ContainsFold predicate on the "nom" field. func NomContainsFold(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldContainsFold(FieldNom, v)) } // ParentIDEQ applies the EQ predicate on the "parent_id" field. func ParentIDEQ(v uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldParentID, v)) } // ParentIDNEQ applies the NEQ predicate on the "parent_id" field. func ParentIDNEQ(v uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldNEQ(FieldParentID, v)) } // ParentIDIn applies the In predicate on the "parent_id" field. func ParentIDIn(vs ...uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldIn(FieldParentID, vs...)) } // ParentIDNotIn applies the NotIn predicate on the "parent_id" field. func ParentIDNotIn(vs ...uuid.UUID) predicate.Emplacement { return predicate.Emplacement(sql.FieldNotIn(FieldParentID, vs...)) } // ParentIDIsNil applies the IsNil predicate on the "parent_id" field. func ParentIDIsNil() predicate.Emplacement { return predicate.Emplacement(sql.FieldIsNull(FieldParentID)) } // ParentIDNotNil applies the NotNil predicate on the "parent_id" field. func ParentIDNotNil() predicate.Emplacement { return predicate.Emplacement(sql.FieldNotNull(FieldParentID)) } // SlugEQ applies the EQ predicate on the "slug" field. func SlugEQ(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldSlug, v)) } // SlugNEQ applies the NEQ predicate on the "slug" field. func SlugNEQ(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldNEQ(FieldSlug, v)) } // SlugIn applies the In predicate on the "slug" field. func SlugIn(vs ...string) predicate.Emplacement { return predicate.Emplacement(sql.FieldIn(FieldSlug, vs...)) } // SlugNotIn applies the NotIn predicate on the "slug" field. func SlugNotIn(vs ...string) predicate.Emplacement { return predicate.Emplacement(sql.FieldNotIn(FieldSlug, vs...)) } // SlugGT applies the GT predicate on the "slug" field. func SlugGT(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldGT(FieldSlug, v)) } // SlugGTE applies the GTE predicate on the "slug" field. func SlugGTE(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldGTE(FieldSlug, v)) } // SlugLT applies the LT predicate on the "slug" field. func SlugLT(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldLT(FieldSlug, v)) } // SlugLTE applies the LTE predicate on the "slug" field. func SlugLTE(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldLTE(FieldSlug, v)) } // SlugContains applies the Contains predicate on the "slug" field. func SlugContains(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldContains(FieldSlug, v)) } // SlugHasPrefix applies the HasPrefix predicate on the "slug" field. func SlugHasPrefix(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldHasPrefix(FieldSlug, v)) } // SlugHasSuffix applies the HasSuffix predicate on the "slug" field. func SlugHasSuffix(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldHasSuffix(FieldSlug, v)) } // SlugIsNil applies the IsNil predicate on the "slug" field. func SlugIsNil() predicate.Emplacement { return predicate.Emplacement(sql.FieldIsNull(FieldSlug)) } // SlugNotNil applies the NotNil predicate on the "slug" field. func SlugNotNil() predicate.Emplacement { return predicate.Emplacement(sql.FieldNotNull(FieldSlug)) } // SlugEqualFold applies the EqualFold predicate on the "slug" field. func SlugEqualFold(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEqualFold(FieldSlug, v)) } // SlugContainsFold applies the ContainsFold predicate on the "slug" field. func SlugContainsFold(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldContainsFold(FieldSlug, v)) } // PieceEQ applies the EQ predicate on the "piece" field. func PieceEQ(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldPiece, v)) } // PieceNEQ applies the NEQ predicate on the "piece" field. func PieceNEQ(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldNEQ(FieldPiece, v)) } // PieceIn applies the In predicate on the "piece" field. func PieceIn(vs ...string) predicate.Emplacement { return predicate.Emplacement(sql.FieldIn(FieldPiece, vs...)) } // PieceNotIn applies the NotIn predicate on the "piece" field. func PieceNotIn(vs ...string) predicate.Emplacement { return predicate.Emplacement(sql.FieldNotIn(FieldPiece, vs...)) } // PieceGT applies the GT predicate on the "piece" field. func PieceGT(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldGT(FieldPiece, v)) } // PieceGTE applies the GTE predicate on the "piece" field. func PieceGTE(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldGTE(FieldPiece, v)) } // PieceLT applies the LT predicate on the "piece" field. func PieceLT(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldLT(FieldPiece, v)) } // PieceLTE applies the LTE predicate on the "piece" field. func PieceLTE(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldLTE(FieldPiece, v)) } // PieceContains applies the Contains predicate on the "piece" field. func PieceContains(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldContains(FieldPiece, v)) } // PieceHasPrefix applies the HasPrefix predicate on the "piece" field. func PieceHasPrefix(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldHasPrefix(FieldPiece, v)) } // PieceHasSuffix applies the HasSuffix predicate on the "piece" field. func PieceHasSuffix(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldHasSuffix(FieldPiece, v)) } // PieceIsNil applies the IsNil predicate on the "piece" field. func PieceIsNil() predicate.Emplacement { return predicate.Emplacement(sql.FieldIsNull(FieldPiece)) } // PieceNotNil applies the NotNil predicate on the "piece" field. func PieceNotNil() predicate.Emplacement { return predicate.Emplacement(sql.FieldNotNull(FieldPiece)) } // PieceEqualFold applies the EqualFold predicate on the "piece" field. func PieceEqualFold(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEqualFold(FieldPiece, v)) } // PieceContainsFold applies the ContainsFold predicate on the "piece" field. func PieceContainsFold(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldContainsFold(FieldPiece, v)) } // MeubleEQ applies the EQ predicate on the "meuble" field. func MeubleEQ(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldMeuble, v)) } // MeubleNEQ applies the NEQ predicate on the "meuble" field. func MeubleNEQ(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldNEQ(FieldMeuble, v)) } // MeubleIn applies the In predicate on the "meuble" field. func MeubleIn(vs ...string) predicate.Emplacement { return predicate.Emplacement(sql.FieldIn(FieldMeuble, vs...)) } // MeubleNotIn applies the NotIn predicate on the "meuble" field. func MeubleNotIn(vs ...string) predicate.Emplacement { return predicate.Emplacement(sql.FieldNotIn(FieldMeuble, vs...)) } // MeubleGT applies the GT predicate on the "meuble" field. func MeubleGT(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldGT(FieldMeuble, v)) } // MeubleGTE applies the GTE predicate on the "meuble" field. func MeubleGTE(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldGTE(FieldMeuble, v)) } // MeubleLT applies the LT predicate on the "meuble" field. func MeubleLT(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldLT(FieldMeuble, v)) } // MeubleLTE applies the LTE predicate on the "meuble" field. func MeubleLTE(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldLTE(FieldMeuble, v)) } // MeubleContains applies the Contains predicate on the "meuble" field. func MeubleContains(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldContains(FieldMeuble, v)) } // MeubleHasPrefix applies the HasPrefix predicate on the "meuble" field. func MeubleHasPrefix(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldHasPrefix(FieldMeuble, v)) } // MeubleHasSuffix applies the HasSuffix predicate on the "meuble" field. func MeubleHasSuffix(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldHasSuffix(FieldMeuble, v)) } // MeubleIsNil applies the IsNil predicate on the "meuble" field. func MeubleIsNil() predicate.Emplacement { return predicate.Emplacement(sql.FieldIsNull(FieldMeuble)) } // MeubleNotNil applies the NotNil predicate on the "meuble" field. func MeubleNotNil() predicate.Emplacement { return predicate.Emplacement(sql.FieldNotNull(FieldMeuble)) } // MeubleEqualFold applies the EqualFold predicate on the "meuble" field. func MeubleEqualFold(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEqualFold(FieldMeuble, v)) } // MeubleContainsFold applies the ContainsFold predicate on the "meuble" field. func MeubleContainsFold(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldContainsFold(FieldMeuble, v)) } // NumeroBoiteEQ applies the EQ predicate on the "numero_boite" field. func NumeroBoiteEQ(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldNumeroBoite, v)) } // NumeroBoiteNEQ applies the NEQ predicate on the "numero_boite" field. func NumeroBoiteNEQ(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldNEQ(FieldNumeroBoite, v)) } // NumeroBoiteIn applies the In predicate on the "numero_boite" field. func NumeroBoiteIn(vs ...string) predicate.Emplacement { return predicate.Emplacement(sql.FieldIn(FieldNumeroBoite, vs...)) } // NumeroBoiteNotIn applies the NotIn predicate on the "numero_boite" field. func NumeroBoiteNotIn(vs ...string) predicate.Emplacement { return predicate.Emplacement(sql.FieldNotIn(FieldNumeroBoite, vs...)) } // NumeroBoiteGT applies the GT predicate on the "numero_boite" field. func NumeroBoiteGT(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldGT(FieldNumeroBoite, v)) } // NumeroBoiteGTE applies the GTE predicate on the "numero_boite" field. func NumeroBoiteGTE(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldGTE(FieldNumeroBoite, v)) } // NumeroBoiteLT applies the LT predicate on the "numero_boite" field. func NumeroBoiteLT(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldLT(FieldNumeroBoite, v)) } // NumeroBoiteLTE applies the LTE predicate on the "numero_boite" field. func NumeroBoiteLTE(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldLTE(FieldNumeroBoite, v)) } // NumeroBoiteContains applies the Contains predicate on the "numero_boite" field. func NumeroBoiteContains(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldContains(FieldNumeroBoite, v)) } // NumeroBoiteHasPrefix applies the HasPrefix predicate on the "numero_boite" field. func NumeroBoiteHasPrefix(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldHasPrefix(FieldNumeroBoite, v)) } // NumeroBoiteHasSuffix applies the HasSuffix predicate on the "numero_boite" field. func NumeroBoiteHasSuffix(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldHasSuffix(FieldNumeroBoite, v)) } // NumeroBoiteIsNil applies the IsNil predicate on the "numero_boite" field. func NumeroBoiteIsNil() predicate.Emplacement { return predicate.Emplacement(sql.FieldIsNull(FieldNumeroBoite)) } // NumeroBoiteNotNil applies the NotNil predicate on the "numero_boite" field. func NumeroBoiteNotNil() predicate.Emplacement { return predicate.Emplacement(sql.FieldNotNull(FieldNumeroBoite)) } // NumeroBoiteEqualFold applies the EqualFold predicate on the "numero_boite" field. func NumeroBoiteEqualFold(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEqualFold(FieldNumeroBoite, v)) } // NumeroBoiteContainsFold applies the ContainsFold predicate on the "numero_boite" field. func NumeroBoiteContainsFold(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldContainsFold(FieldNumeroBoite, v)) } // IconeEQ applies the EQ predicate on the "icone" field. func IconeEQ(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldIcone, v)) } // IconeNEQ applies the NEQ predicate on the "icone" field. func IconeNEQ(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldNEQ(FieldIcone, v)) } // IconeIn applies the In predicate on the "icone" field. func IconeIn(vs ...string) predicate.Emplacement { return predicate.Emplacement(sql.FieldIn(FieldIcone, vs...)) } // IconeNotIn applies the NotIn predicate on the "icone" field. func IconeNotIn(vs ...string) predicate.Emplacement { return predicate.Emplacement(sql.FieldNotIn(FieldIcone, vs...)) } // IconeGT applies the GT predicate on the "icone" field. func IconeGT(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldGT(FieldIcone, v)) } // IconeGTE applies the GTE predicate on the "icone" field. func IconeGTE(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldGTE(FieldIcone, v)) } // IconeLT applies the LT predicate on the "icone" field. func IconeLT(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldLT(FieldIcone, v)) } // IconeLTE applies the LTE predicate on the "icone" field. func IconeLTE(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldLTE(FieldIcone, v)) } // IconeContains applies the Contains predicate on the "icone" field. func IconeContains(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldContains(FieldIcone, v)) } // IconeHasPrefix applies the HasPrefix predicate on the "icone" field. func IconeHasPrefix(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldHasPrefix(FieldIcone, v)) } // IconeHasSuffix applies the HasSuffix predicate on the "icone" field. func IconeHasSuffix(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldHasSuffix(FieldIcone, v)) } // IconeIsNil applies the IsNil predicate on the "icone" field. func IconeIsNil() predicate.Emplacement { return predicate.Emplacement(sql.FieldIsNull(FieldIcone)) } // IconeNotNil applies the NotNil predicate on the "icone" field. func IconeNotNil() predicate.Emplacement { return predicate.Emplacement(sql.FieldNotNull(FieldIcone)) } // IconeEqualFold applies the EqualFold predicate on the "icone" field. func IconeEqualFold(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldEqualFold(FieldIcone, v)) } // IconeContainsFold applies the ContainsFold predicate on the "icone" field. func IconeContainsFold(v string) predicate.Emplacement { return predicate.Emplacement(sql.FieldContainsFold(FieldIcone, v)) } // CreatedAtEQ applies the EQ predicate on the "created_at" field. func CreatedAtEQ(v time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldCreatedAt, v)) } // CreatedAtNEQ applies the NEQ predicate on the "created_at" field. func CreatedAtNEQ(v time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldNEQ(FieldCreatedAt, v)) } // CreatedAtIn applies the In predicate on the "created_at" field. func CreatedAtIn(vs ...time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldIn(FieldCreatedAt, vs...)) } // CreatedAtNotIn applies the NotIn predicate on the "created_at" field. func CreatedAtNotIn(vs ...time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldNotIn(FieldCreatedAt, vs...)) } // CreatedAtGT applies the GT predicate on the "created_at" field. func CreatedAtGT(v time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldGT(FieldCreatedAt, v)) } // CreatedAtGTE applies the GTE predicate on the "created_at" field. func CreatedAtGTE(v time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldGTE(FieldCreatedAt, v)) } // CreatedAtLT applies the LT predicate on the "created_at" field. func CreatedAtLT(v time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldLT(FieldCreatedAt, v)) } // CreatedAtLTE applies the LTE predicate on the "created_at" field. func CreatedAtLTE(v time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldLTE(FieldCreatedAt, v)) } // UpdatedAtEQ applies the EQ predicate on the "updated_at" field. func UpdatedAtEQ(v time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldEQ(FieldUpdatedAt, v)) } // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field. func UpdatedAtNEQ(v time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldNEQ(FieldUpdatedAt, v)) } // UpdatedAtIn applies the In predicate on the "updated_at" field. func UpdatedAtIn(vs ...time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldIn(FieldUpdatedAt, vs...)) } // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field. func UpdatedAtNotIn(vs ...time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldNotIn(FieldUpdatedAt, vs...)) } // UpdatedAtGT applies the GT predicate on the "updated_at" field. func UpdatedAtGT(v time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldGT(FieldUpdatedAt, v)) } // UpdatedAtGTE applies the GTE predicate on the "updated_at" field. func UpdatedAtGTE(v time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldGTE(FieldUpdatedAt, v)) } // UpdatedAtLT applies the LT predicate on the "updated_at" field. func UpdatedAtLT(v time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldLT(FieldUpdatedAt, v)) } // UpdatedAtLTE applies the LTE predicate on the "updated_at" field. func UpdatedAtLTE(v time.Time) predicate.Emplacement { return predicate.Emplacement(sql.FieldLTE(FieldUpdatedAt, v)) } // HasParent applies the HasEdge predicate on the "parent" edge. func HasParent() predicate.Emplacement { return predicate.Emplacement(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.M2O, true, ParentTable, ParentColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasParentWith applies the HasEdge predicate on the "parent" edge with a given conditions (other predicates). func HasParentWith(preds ...predicate.Emplacement) predicate.Emplacement { return predicate.Emplacement(func(s *sql.Selector) { step := newParentStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // HasEnfants applies the HasEdge predicate on the "enfants" edge. func HasEnfants() predicate.Emplacement { return predicate.Emplacement(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.O2M, false, EnfantsTable, EnfantsColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasEnfantsWith applies the HasEdge predicate on the "enfants" edge with a given conditions (other predicates). func HasEnfantsWith(preds ...predicate.Emplacement) predicate.Emplacement { return predicate.Emplacement(func(s *sql.Selector) { step := newEnfantsStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // HasLiensObjets applies the HasEdge predicate on the "liens_objets" edge. func HasLiensObjets() predicate.Emplacement { return predicate.Emplacement(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.O2M, false, LiensObjetsTable, LiensObjetsColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasLiensObjetsWith applies the HasEdge predicate on the "liens_objets" edge with a given conditions (other predicates). func HasLiensObjetsWith(preds ...predicate.LienObjetEmplacement) predicate.Emplacement { return predicate.Emplacement(func(s *sql.Selector) { step := newLiensObjetsStep() 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.Emplacement) predicate.Emplacement { return predicate.Emplacement(sql.AndPredicates(predicates...)) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.Emplacement) predicate.Emplacement { return predicate.Emplacement(sql.OrPredicates(predicates...)) } // Not applies the not operator on the given predicate. func Not(p predicate.Emplacement) predicate.Emplacement { return predicate.Emplacement(sql.NotPredicates(p)) }