Re: [SQLObject] Patch: support for locking rows
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: David F. <df...@kl...> - 2006-02-22 13:35:15
|
On Wednesday 22 February 2006 14:28, Oleg Broytmann wrote: > On Wed, Feb 22, 2006 at 02:21:06PM +0100, David Faure wrote: > > Could you help me a bit so that I can do the right thing then? > > What's the idea behind loadvalue and getvalue issueing a SELECT stateme= nt? > > I thought the select was done by MyObject.select(), so why is select do= ne (again? instead?) > > when accessing a given column of the object? >=20 > class sqlmeta: > cacheValues =3D False >=20 > Now EVERY access to an attribute causes SELECT or UPDATE. OK. Now if I want those SELECTS to lock the rows, how would I do that, if n= ot with an sqlmeta boolean? =2D-=20 David Faure -- fa...@kd..., df...@kl... KDE/KOffice developer, Qt consultancy projects Klar=E4lvdalens Datakonsult AB, Platform-independent software solutions |