Change the pkey method so that the caller can optionally set the dictionary
D'Arcy J.M. Cain <darcy@druid.net>
Change the pkey method so that the caller can optionally set the dictionary used for the primary key lookup. This will prevent a database lookup for each connection object that gets created. This could be a significant optimization on a busy system. Similarly, the get_attnames method allows for the attributes dictionary to be installed directly.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/python/pg.py | modified | +35 −14 |