MCPcopy Index your code
hub / github.com/webpy/webpy / __init__

Method __init__

web/db.py:1346–1353  ·  view source on GitHub ↗
(self, **keywords)

Source from the content-addressed store, hash-verified

1344
1345class MSSQLDB(DB):
1346 def __init__(self, **keywords):
1347 import pymssql as db
1348
1349 if "pw" in keywords:
1350 keywords["password"] = keywords.pop("pw")
1351 keywords["database"] = keywords.pop("db")
1352 self.dbname = "mssql"
1353 DB.__init__(self, db, keywords)
1354
1355 def _process_query(self, sql_query):
1356 """Takes the SQLQuery object and returns query string and parameters."""

Callers

nothing calls this directly

Calls 2

popMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected