Fork me on GitHub
#honeysql
<
2020-06-13
>
wombawomba14:06:41

How can I build a INSERT INTO foo SELECT ... FROM ... statement with HoneySQL?

dharrigan15:06:46

(-> (insert-into [:foo (-> (select :*) (from :bar))]) sql/format)
["INSERT INTO foo SELECT * FROM bar"]

seancorfield19:06:45

Cross-posting from #sql for anyone who is here but not there...