While I agree that using connection.cursor()
directly is both discouraged and relatively uncommon/advanced, using multiple DB Connections is also relatively uncommon/advanced. They are both features you turn to when your app has DB requirements beyond the common case. I’d wager that although both groups are quite small, the overlap in the venn diagram:
- “has an app with >1 DB connections” and
- “uses
connection.cursor()
”
might be quite a big overlap.