[racket-users] Re: Executing batch statements against a database using `db` library.

2017-05-12 Thread Alexander McLin
Thank you Alex, your code looks comprehensive and ought cover my use case. Appreciate your sharing! Best, Alexander -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an

[racket-users] Re: Executing batch statements against a database using `db` library.

2017-05-12 Thread Alex Harsanyi
You need to execute the statements one by one and write code that reads the statements. I have written code to read a SQL schema definition file and create a database from it, you can find it here: https://github.com/alex-hhh/ActivityLog2/blob/master/rkt/dbutil.rkt The `db-open` command