hi everyone!

it´s been a while but i hope you will answer me.

in a script i have a sqlobject query like this:
r.BUCHUNGEN.filter((Gebucht.q.PERSONEN >= 4) & (Gebucht.q.OPTIONSDATUM is None))


this generates sql like this:
SELECT gebucht.NR, [...] FROM gebucht WHERE ((((gebucht.REISENR) =
('10CAL/1604')) AND (((gebucht.STORNIERT) = ('NEIN')) OR
((gebucht.STORNIERT) IS NULL))) AND (((gebucht.PERSONEN) >= (4)) AND
(0)))

this won´t be executed by the interbase server, it doesn´t accept the
last part "AND (0)" and dismisses the query.
if i remove this last part it will execute just fine.

is this a sqlobject-issue? or is it rather kinterbasdb related?

thanks!

frank

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to