[plt-scheme] Query language for writing SQL commands
The S-expression query languages output would be a string (the "sql command").
For example:
(select (field1 field2) (table1 table2) (where (= table1.id table2.id)))
Gets converted to the string:
"select all field1, field2 from table1, table2 where table1.id = table2.id"
I was saying that converting S expressions to strings shoud not
require anything beyond R5RS. Of course after you have written the
command, you still have to run it, but that's a seperate problem. I
was just concerned with writing the sql commands.
Corey
On 8/16/07, Jens Axel Søgaard <jensaxel at soegaard.net> wrote:
> Corey Sweeney wrote:
>
> > This shouldn't depend on anything outside of R5RS, so it should be
> > able to be cross-platform. Are there other options out there?
>
> Which database do you have an R5RS-only interface to?
>
> --
> Jens Axel Søgaard
>
>
>
--
((lambda (y) (y y)) (lambda (y) (y y)))