Fork me on GitHub
#honeysql
<
2021-09-17
>
john-shaffer00:09:38

What do you think about allowing a set as the value of a :select? Would that cause any problems?

seancorfield00:09:27

Can you elaborate? I'm not entirely sure what you're asking...

john-shaffer00:09:54

Like {:select #{:id} :from :table}

john-shaffer00:09:08

Right now it throws

seancorfield00:09:48

Well, the logic that formats a :select also formats several other statements in the DSL so I'd have to take a close look at those. Worst case I'd have to special case :select and preprocess the argument to make it compatible I guess. Feel free to open an issue.