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.

Close a database connection

asantosasantos Members
edited November -1 in Sahi - Open Source
Hi,

It is a easy question, How can I close a connection in a database?. If a use _getDB, I open a database connection, but, which is the code for close a connection?

TKS...

Comments

  • narayannarayan Administrators
    Asantos,

    _getDB just initializes the parameters. The connection is opened and automatically closed within select and update.

    Regards,
    Narayan
Sign In or Register to comment.