...
Code Block |
---|
List<GenericValue> productList = EntityQuery.use(delegator) .from("Product") .queryList(); |
Here, we can easily see what type of records we are going to get by looking at the methods. Also, there is no more confusion about multiple ‘null’ parameters as in Entity Engine methods.
...