Python Forum
Is there a standard for autocommit In PEP 249
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a standard for autocommit In PEP 249
#1
I tried reading PEP 249 and I could not locate any mentioning as a parameter to the connect() except in the commit method:
----------------------------
.commit()
Commit any pending transaction to the database.

Note that if the database supports an auto-commit feature, this must be initially off. An interface method may be provided to turn it back on.

Database modules that do not support transactions should implement this method with void functionality.
----------------------------
Other languages do supply that as an option. Is there anything special in Python that obviate the need to set this option, either in the connect or elsewhere?

Thanks
ZA

Could somebody help me. This need to be moved to 'general coding help' and I do not know how to do it
Thank you
Reply


Messages In This Thread
Is there a standard for autocommit In PEP 249 - by zatlas1 - Feb-05-2019, 06:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How psycopg2 autocommit works ? johntay 3 10,563 Oct-08-2021, 11:22 AM
Last Post: Larz60+
  Winsorized Mean and Standard Deviation Wheeliam 0 1,824 Jul-11-2020, 05:27 PM
Last Post: Wheeliam
  standard library modules chpyel 4 2,834 May-10-2020, 02:58 PM
Last Post: snippsat
  Graphics and standard deviation rocioaraneda 3 2,731 Jan-09-2019, 10:53 PM
Last Post: micseydel
  standard data types rombertus 3 62,471 Dec-23-2018, 08:52 PM
Last Post: rombertus
  Standard library code BerryK 2 4,034 Apr-29-2017, 10:32 PM
Last Post: Larz60+
  what is my standard in python currently? hsunteik 3 3,750 Jan-19-2017, 12:37 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020