Erlend E. Aasland <erlend.aasl...@innova.no> added the comment:

The INSERT statement comes in many varieties. What about INSERT OR 
[ABORT,FAIL,IGNORE,REPLACE,ROLLBACK], INSERT WITH RECURSIVE, INSERT INTO table 
SELECT, etc.? Why only add such an API for insert; why not replace() as well?

I'm not convinced this is a good idea. It sounds to me like a project specific 
need that would need a project specific implementation. And as you showed, the 
implementation is pretty straight-forward.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44927>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to