You can download the code for this example here:
To retrieve a list of entities with complex filter rules use the executeQuery method.
This tutorial demonstrates how to query for data in Onyx Database.
As an example, we will retrieve a list of "Player" entities and specifically we will search for quarterbacks with a firstName that starts with C and order them by lastName in ascending order.
To see how the data was seeded for this example, see Main.java.
You can construct a QueryCriteria to do complex queries and filtering. This QueryCriteria below will retrieve a list of players who have a lastName starting with "C" and have a position of "QB".
This example uses one of the many constructors that are available.
This will retrieve a list of entities according to the criteria of the Query
Our goal is to bring about change by enabling people to use simple and quality software in order to make sad engineers happy.