Interface EntityQueryModel

All Superinterfaces:
Supplier<List<Entity>>

public interface EntityQueryModel extends Supplier<List<Entity>>
Provides entities fetched from a database. The default query mechanism can be overridden by using query().
tableModel.queryModel().query().set(queryModel -> {
	 EntityConnection connection = queryModel.connectionProvider().connection();

 return connection.select(Employee.NAME.equalTo("John"));
});
See Also: