Re: [racket-users] Getting JSON to work with the DB module

2019-04-24 Thread David Storrs
Okay, thanks. I wonder if this is a problem space that the sql module could fit into? Perhaps tag the fields with wrapper functions. Regardless, I've found a clean way around it by looping through a smart struct defined using the struct-plus-plus module. #lang at-exp racket (require struct-plu

Re: [racket-users] Getting JSON to work with the DB module

2019-04-23 Thread Ryan Culpepper
It is not possible, unfortunately. You must do the conversion to and from strings yourself. I've thought about adding a hook for additional conversions based on declared types, but there's no declared type information at all for parameters, and the declared type for results is fragile: a colum