MCPcopy
hub / github.com/HKUDS/AI-Trader / using_postgres

Function using_postgres

service/server/database.py:48–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47
48def using_postgres() -> bool:
49 return bool(DATABASE_URL)
50
51
52def get_database_backend_name() -> str:

Callers 8

begin_write_transactionFunction · 0.85
get_db_connectionFunction · 0.85
get_database_statusFunction · 0.85
init_databaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected