hugsql

borkdude 2017-11-21T13:53:11.000412Z

Does hugsql support DEFAULT as in:

INSERT INTO films VALUES
    (‘UA502’, ‘Bananas’, 105, DEFAULT, ‘Comedy’, ‘82 minutes’);

borkdude 2017-11-21T13:53:59.000177Z

while also being able to provide a non-default value that is

borkdude 2017-11-21T13:54:16.000366Z

so to provide something like :default as an argument

2017-11-21T17:58:35.000563Z

if you're doing relatively straight forward inserts, you may look into using jdbc's insert! directly. That way, if your map does not include the key, it'll do whatever your database does by default. See https://clojure.github.io/java.jdbc/#clojure.java.jdbc/insert!