[issue44927] [sqlite3] proposal: add sqlite3.Cursor.insert() method

AR report at bugs.python.org
Mon Aug 16 15:36:23 EDT 2021


AR <ajrubtsov at gmail.com> added the comment:

There is no good solution to this. Either a move to all-in-one solution and ORM at the end, or limited scope hack that allow for a convenient "just insert". I do not insist due to this controversy

I just didn't realize the difference until I've noticed that one line of my pymongo code corresponds to many lines of sqlite code. I'm perfectly fine using direct SQL statements, but would happily use a shortcut.

It's up to you to decide as you see a broader picture. Thank you in any case!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44927>
_______________________________________


More information about the Python-bugs-list mailing list