sql >> Base de Datos >  >> NoSQL >> MongoDB

MongoDb Spring encuentra en un objeto anidado

Creo que tienes que cambiar la estructura de attributes :

attributes : [{
        key : "565c5ed433a140520cdedd73",
        value: "333563851"
    }, {
        key : "...",
        value: "..."
    }
]

Luego cambie su solicitud de esta manera:

{'attributes.value': ?1}