elgris / sqrl

Fluent SQL generation for golang
MIT License
279 stars 38 forks source link

Add PrefixExpr(expr Sqlizer) and SuffixExpr(expr Sqlizer) methods to all builders. #38

Closed smeadows99 closed 11 months ago

smeadows99 commented 11 months ago

Adding PrefixExp and SuffixExp to allow more complex prefix expressions to be easily built in line, rather than having to create a seperate subquery builder, build the sql, and then use that as arguments to .Prefix(sql, args...). The code to be included will be from squirrel package.