java - Spring data mongodb Find by nested attribute in document -


im using spring data mongodb, , wondering how can make find using nested attribute documents, using repositories. let´s imagine have document:

{     a:"val",     b:{a:1, b:"test"},     b:{a:1, b:"test"} } 

and make find findbyaa(int a);

but not works, can me please!

ps:i willing not use mongotemplate repository.

thanks


Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -