QueryReverse()
reverse the row order of a complete query
Introduced: 6.0.0.18
QueryReverse( query=query );
Returns: Query
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(queryreverse(testQuery));
See also
- Queries
- query.reverse()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)