Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SQLite question
#1
Hi,
I am using SQLite (version 2.6.0)
Somewhere in the code I need to check if there is an active connection to a database.

In mySQL there is something like "conn.is_connected()".
This seems to be missing in SQLite, or did I miss it?
thx,
Pau

Edit: seems to be missing in SQLite. Then we'll do conn = None or not None.
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Messages In This Thread
SQLite question - by DPaul - May-24-2023, 06:00 AM
RE: SQLite question - by rob101 - May-24-2023, 03:44 PM
RE: SQLite question - by DigiGod - May-25-2023, 11:10 PM
RE: SQLite question - by DPaul - May-26-2023, 06:10 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020