> http://www.sqlobject.org/Versioning.html
Thanks, although this doesn't really solve my problem (which is
delete, not update) but the code is definitely useful and I didn't
know about it.
Cheers,
DanielTurner
> On Sat, 2009-01-24 at 13:07 -0800, Daniel Fetchinson wrote:
>> I guess this questio
sorry, "def" missing.
class Blabla(SQLObject)
# here goes the rest
def select(cls, clause=None, **kw):
sresult = super(Blabla, cls).select(clause, **kw)
return sresult.filter(~ LIKE(Blabla.q.aField, "%aParameter%"))
On Sun, Jan 25, 2009 at 17:23, Frank Wagner wrote:
> i was facing anot
i was facing another situation in which i had to filter each and every
query to a certain table through a certain command.
in my case what i was doing (with a lot of help from oleg) was
overriding its select-method:
class Blabla(SQLObject)
# here goes the rest
select(cls, clause=None, **kw):
http://www.sqlobject.org/Versioning.html
On Sat, 2009-01-24 at 13:07 -0800, Daniel Fetchinson wrote:
> I guess this question is familiar to many of you and since I came
> across it for the first time now I'm soliciting best practice and
> strategy advice.
>
> I have a set of tables with all sorts
>> I guess this question is familiar to many of you and since I came
>> across it for the first time now I'm soliciting best practice and
>> strategy advice.
>>
>> I have a set of tables with all sorts of relationships between them.
>> Many times items get deleted, but I'd like to make sure that I
> I guess this question is familiar to many of you and since I came
> across it for the first time now I'm soliciting best practice and
> strategy advice.
>
> I have a set of tables with all sorts of relationships between them.
> Many times items get deleted, but I'd like to make sure that I can
>