Re: [sqlite] SQLite - how to get number of active connection?

2016-09-10 Thread Doug Nebeker
[mailto:sqlite-users-boun...@mailinglists.sqlite.org] On Behalf Of Bhavesh Patel Sent: Friday, September 9, 2016 7:47 AM To: SQLite mailing list Subject: [sqlite] SQLite - how to get number of active connection? I want to run certain clean-up tasks on the SQLite database only and only when

[sqlite] SQLite - how to get number of active connection?

2016-09-09 Thread Bhavesh Patel
I want to run certain clean-up tasks on the SQLite database only and only when there is only 1 connection(self) to SQLite. I do not want to lock the database during the cleanup process. The main application(s) using the SQLite DB is given 1st preference. the cleanup application is executed at