Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...