How do you select-tuples from a db with a slot set to f? The help says
that A SQL query is constructed from the slots of the exemplar tuple
that are not f. So for example the following won't work:
[ T{ book { sold f } } select-tuples ] with-books-db
Do you have to use two slots, sold and
I tried this and it seems that 0 is treated as t. I guess because 0 is
not f. I think I might have to use an INTEGER instead of a BOOLEAN
type and that way I can select for 0 and 1.
Thanks.
On 14 June 2011 16:15, Fred Alger f...@fredalger.net wrote:
I haven't tried this, but you might try
Hi,
How do you select-tuples from a db with a slot set to f? The help says
that A SQL query is constructed from the slots of the exemplar tuple
that are not f. So for example the following won't work:
[ T{ book { sold f } } select-tuples ] with-books-db
Do you have to use two slots, sold and