Hi all, is there a way convert raw sql to honeysql compliant data? I have a bunch of sql I would like to convert.
Depending on how much effort you want to put in, you could convert the sql to AST nodes and then convert that to honeysql style nodes
The grammar for SQL is extremely complicated and is also different for each database so this is a very hard problem to solve.
If you have “simple” SQL, you might be able to do at least some of it via regex-style parsing but it’s still going to be a lot of work @limix
Thank you, makes sense
(it’s been requested a couple of times against HoneySQL and I’ve rejected it each time as being effectively intractable)