pg property
PgConnectionWrapper
get
pg
Implementation
static PgConnectionWrapper get pg {
if (_pg == null || !_pg!.isConnected) {
throw Exception("PostgreSQL not connected or connection lost.");
}
return _pg!;
}