We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66e0c2a commit e5dabd1Copy full SHA for e5dabd1
README.adoc
@@ -119,6 +119,26 @@ public class AppTest {
119
120
----
121
122
+== Sample @Query Usages
123
+Query with hardcoded value
124
+[source,java]
125
+----
126
+@Query("firstname=James")
127
+public List<Person> peoplewiththeirFirstNameIsJames();
128
129
+Query with one variable
130
131
132
+@Query("firstname=%s")
133
+public List<Person> peoplewiththeirFirstName(String firstName);
134
135
+Query with multiple variable values
136
137
138
+@Query("firstname=%s and lastname=%s")
139
+public List<Person> peoplewithFirstAndLastName(String firstName,String lastName);
140
141
+
142
== Installation
143
144
=== Maven
0 commit comments