Defining a Post Query
Last updated
Last updated
The post query script lets you manipulate the data after it is fetched from the database. You must write the post query script in the Java programming language.
In order to use a post query, you must ensure that you select the Call Post Query checkbox while defining the data source details.
To define a post query, open the </>Post Query tab. The query editor is displayed. You can define your post query here as per the requirement.
You can call the predefined post query methods directly from the editor. On entering db. in the text editor, the list of methods is displayed. You can click on the required method from this list.
If you add the following post query to your datasource, on refreshing the data, the user will not able to view the time component in the start date. However, in the database, the start date will store the time component.
Another example