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.
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'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.