> Den 18/06/2015 kl. 17.49 skrev Carl Meyer :
>
> I wrote a blog post [2] which discusses this in more detail. It's about
> PostgreSQL instead of MySQL, but the part near the beginning about PEP
> 249 and Django applies equally well to MySQL (I think; I'm not very
> familiar
Hi Kate,
On 06/18/2015 04:05 AM, Katarzyna Łabędź wrote:
> Maybe i didn't understand it correctly.
>
> I know Django support transactions, but isn't it do it on commit?
> I just tried to find the BEGIN statement inside them and i could not
> find it - searched through internet and what I found
As the documentation states, the default behavior in Django is
"autocommit", relying on the database's autocommit behavior. This means
Django does not need to issue explicit BEGIN and COMMIT statements, so by
default Django does not issue them unless the ORM determines that a
requested operation
Thanks Russell,
Maybe i didn't understand it correctly.
I know Django support transactions, but isn't it do it on commit?
I just tried to find the BEGIN statement inside them and i could not find
it - searched through internet and what I found was a bunch of people
asking the same question -
Thanks Russel,
Maybe i didn't understand it correctly.
I know Django support transactions, but isn't it do it on commit?
I just tried to find the BEGIN statement inside them and i could not find
it - searched through internet and what I found was a bunch of people
asking the same question -
Hi Katarzyna,
I'm not sure what gave you the impression that Django doesn't support
transactions - there's a whole section in the documentation about this very
topic:
https://docs.djangoproject.com/en/1.8/topics/db/transactions/
You don't explicitly execute a "BEGIN" statement, but you can
Hi!
As far as i know Django 1.8 does not support BEGIN transaction for mysql.
Is there a way to invoke this?
How to invoke BEGIN Transaction in a raw sql? I cannot find it in
documentation...
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
7 matches
Mail list logo