(self, k)
| 399 | def __init__(self, db, *args, **kwargs): |
| 400 | dict.__init__(self, *args, **kwargs); self.db=db |
| 401 | def __getitem__(self, k): |
| 402 | if dict.__getitem__(self, k) is None: |
| 403 | dict.__setitem__(self, k, Table(name=k, database=self.db)) |
| 404 | return dict.__getitem__(self, k) |
| 405 | |
| 406 | def __init__(self, name, host="localhost", port=3306, username="root", password="", type=SQLITE, unicode=True, **kwargs): |
| 407 | """ A collection of tables stored in an SQLite or MySQL database. |
nothing calls this directly
no test coverage detected