18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

q

apurvasapurvas Members
edited June 2013 in Sahi - Open Source
I would like to know how to sort the database values. i'm using postgres .
I used the following query but it didn't work.
var db = _getDB("org.postgresql.Driver", "jdbc:postgresql://localhost:5432/dbname", "username","password");

var $b = new Array();


$rs = db.select("select * from tblseismic_exposure order by Seismic Zone asc");

But when i'm not using 'order by' query is running fine.

Best Answer

Answers

  • Hi apurvas,
    Can you let me know the behavior and logs that you see when you use "order by".

    Regards.
  • hey thanks for the reply. It is done now.
This discussion has been closed.