ping method
Sends a ping or heartbeat to check if connection is alive.
Implementation
@override
Future<bool> ping() async {
try {
if (_db == null) return false;
_db!.select('SELECT 1');
return true;
} catch (_) {
return false;
}
}