Just got bitten by this difference. Doesn't seem intentional. And fixing it is potentially a breaking change to somebody. :/
(sql/format (hh/where :x))
=> ["WHERE X()"]
(sql/format {:where :x})
=> ["WHERE x"]Thanks!
Feel free to open an issue. I think I get why it happens and it's a "bug" in the helper...
I special-cased where with a single ident. I don't think it will break anything else. I added several more tests -- I think it was just a weird edge case I didn't have a test for and therefore had never noticed...?