MCPcopy Create free account
hub / github.com/dbcli/mycli / change_db

Method change_db

mycli/sqlexecute.py:575–578  ·  view source on GitHub ↗
(self, db: str)

Source from the content-addressed store, hash-verified

573 _logger.debug("Current connection id: %s", self.connection_id)
574
575 def change_db(self, db: str) -> None:
576 assert isinstance(self.conn, Connection)
577 self.conn.select_db(db)
578 self.dbname = db
579
580 @staticmethod
581 def _connect_sandbox(conn: Connection) -> None:

Callers

nothing calls this directly

Calls 1

select_dbMethod · 0.45

Tested by

no test coverage detected