Re: Default isolation_level for sqlite3.connect?

Peng Yu <[email protected]>
Newsgroups gmane.comp.db.sqlite.general
Message-ID <CABrM6wnoBp_iREBRPpYFivaEpsk8MDrHEPhPcFuLAbjUY0Ai_w@mail.gmail.com>
On 1/30/20, Keith Medcalf <[email protected]> wrote:
>
> The isolation_level specifies the default suffix to put after 'BEGIN' when
> beginning a transaction.  Inside the library the following is used when the
> magic wants to start a transaction:
>
> if isolation_level is not None:
>    .execute('BEGIN %s' % isolation_level)
>
> This is so that you can set isolation_level to 'IMMEDIATE' so that all
> magically initiated transactions are BEGIN IMMEDIATE rather than the default
> BEGIN DEFERRED

Are you saying the default isolation_level is equivalent to IMMEDIATE?
Or you are not answering my specific question of what is the default
of isolation_level? I think the default paremeter value of
isolation_level of the function sqlite3.connect() is just None. It is
not the case?

-- 
Regards,
Peng
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.