Versions Compared

Key

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

The operations "thousandFive" and "incrementEmployeeSalaryEx" are used in demonstrating the query result export functionality in a data service. The query used in "thousandFive" operation exports the a result value with the name "increment". This increment value is taken in as a parameter by the query in the "incrementEmployeeSalaryEx" operation.

The figure below shows the dbs fragment that defines this behaviour:

...

The return values from the first "employeeByNumber()" call and the second have a difference of 1500, which is the amount incremented within the boxcarring session. The 1500 value is passed into "incrementEmployeeSalaryEx" operation by the "thousandFive" operation.

Excerpt
hiddentrue

Data services sample - query result export demo in WSO2 Data Services Server.