Re: [Chicken-users] Awful ($db ...)

2018-10-07 Thread Mario Domenech Goulart
Hi, On Sun, 7 Oct 2018 13:20:29 +0200 Peter Bex wrote: > On Sun, Oct 07, 2018 at 09:08:48PM +1000, David Ireland wrote: >> Hi, >> >> I'm using the database access in Awful and I'm having the troubles >> recreating an example in the docs. After setting up a dummy postgres >> database I tried

Re: [Chicken-users] Awful ($db ...)

2018-10-07 Thread Peter Bex
On Sun, Oct 07, 2018 at 09:08:48PM +1000, David Ireland wrote: > Hi, > > I'm using the database access in Awful and I'm having the troubles > recreating an example in the docs. After setting up a dummy postgres > database I tried this example: > > ($db "insert into foo (bar, baz) values (?, ?)"

[Chicken-users] Awful ($db ...)

2018-10-07 Thread David Ireland
Hi, I'm using the database access in Awful and I'm having the troubles recreating an example in the docs. After setting up a dummy postgres database I tried this example: ($db "insert into foo (bar, baz) values (?, ?)" values: '("bar-val" "baz-val")) Which produced this error: ($db