Fork me on GitHub
#sql
<
2018-04-21
>
Drew Verlee16:04:18

Hi Clojure! I just created a library that generates all sql insert statements + values for a postgres table given just the table and the db connection info. It uses https://github.com/viesti/table-spec but adds the ability to handle/consider foreign key constraints during generation. Here it is: https://github.com/drewverlee/fk-gen I’ll follow up with a blog post but initial feedback is welcome. Its very alpha! I need to add a simple example...