开发者

Django and SphinxQL - how to disable transactions?

I have to use a SphinxQL in Django, but SphinxQL seems doesn't suppor开发者_高级运维t transaction. How to disable transactions for SphinxQL connection? Is it possible? I replaced Django MySQL backend with MySQLdb and it works, but I prefer using native Django components.


You could manage that via

set autocommit=0
insert
...
commit
set autocommit=1
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜