[racket] in-query problems
On 12/11/2014 11:53 AM, Ryan Culpepper wrote:
>
> Using in-query within a for loop:
> > (for/list ([(n t) (in-query c "select n, t from numbers")])
> (list n t))
> '((1 "one") (2 "two") (3 "three") (4 "four") (5 "five"))
>
Ok, so in-query does return multiple columns as (values ...). That
will work. What's important is being able to get multiple columns - how
they are returned is less important.
I appreciate you taking the time to explain it. I wish I could have
figured it out myself.
Thanks,
George