Hi! Is there a way to specify a create table foo (...) strict (for https://www.sqlite.org/stricttables.html) with honeysql helpers ?
(sql/format {:create-table [:t
{:columns [:foo :bar :baz]}
[:strict]]})
=> ["CREATE TABLE t (foo, bar, baz) STRICT"]right, thank you 👍 so no helper for this case
(like with-columns or such)
The syntax that can be supported there is pretty random and it's database specific so it's not worth trying to design a helper for it. DDL in general is mostly too unstructured for helpers to improve things.
(sql/format (update table-ddl :create-table conj [:strict])) 🙂
thanks for the help