mongodb - How do you query for embedded objects from a repository with Spring Data? -
I have an object, let's call it a My document is root P> I have created a Spring Data repository: Is it possible to make a method, perhaps by commenting it with any type of Can or if it is not ambiguous then you can remove the underscores. 1.3.2.2.1. Property expression from item . Speaking conceptually, users can take action against these items.
item , and it has embedded inside
action .
public interface item crude referitry and lt; Items, string & gt;
@Query , which is the
Action that some criteria Matches? I want to get this data to show a user's recent history in
Items 's.
act link in your document type and link them to your
items 's?
action that you called with the following pattern The method can be used:
findByAction_ {actionPropertyName}
Comments
Post a Comment