Version 5.x

How to restrict access to EasyQuery middleware for non-authenticated users

Problem Your web application has an open part (main page, some info pages, login/registration forms) and the part that requires the authorization. And you want that the data-filtering or ad-hoc reporting functionality provided by EasyQuery be available only for authorized users. Solution Starting from version 5

Store queries in a database

Here we describe the case when all users of some web application create their own queries and would like to store those queries in some database.

Create data model dynamically with code

To accomplish the described task, we need to perform several steps in consecutive order. First, we should add the tables our model will be based on and links between those tables. Then we add entities and attributes and connect our attributes to the tables we added before. In result of the execution of the code below, we will get a data model which consists of two tables (Customers and Orders),