Home
Designing Analytics Reports
can we run a query with dynamic parameters one by one and save it's result in an array and show
Migrateduser
<p style="font-size:15px;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;color:rgb(36,39,41);">Can we run a long query again and again with dynamic parameters and saving it's result in a map or an array and display it on the screen as a column...</p>
<p style="font-size:15px;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;color:rgb(36,39,41);">I have updated the query with parameter in the script ... but the query goes too long and hangs on . Is it possible to run the query with the loop and save the result in an array and at last we show all the array value on the view.</p>
<p> </p>
<p style="font-size:15px;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;color:rgb(36,39,41);">I have tried this as below:</p>
<p> </p>
<p> </p>
<p>name= new Array();// definition of array<br>
var i = 0;<br>
while (i<6){<br>
name
= this.queryText.replaceAll(5, i)<br>
i++;<br>
}<br>
this.queryText = name</p>
Find more posts tagged with
Comments
There are no comments yet