query.reverse()
reverse the row order of a complete query
Introduced: 6.0.0.18
query.reverse( )
Returns: Query
This function does not take any arguments.
Examples
testQuery = queryNew( "name , age" , "varchar , numeric" , { name: [ "Susi" , "Urs" ] , age: [ 20 , 24 ] } );
writeOutput("The query:<br />");
writeDump(testQuery);
writeOutput("The reversed query:<br />");
writeDump(testQuery.reverse());