org.clojars.punit-naik.sqles.parse-sql.where
handle-clause-data
(handle-clause-data clause-data)
nested-handle-clause-data
(nested-handle-clause-data clause-data)
Applies `handle-clause-data` fn to nested where clauses
operators-used-without-spacing
Operatos which can be used without spacing between operands
separate-nots
(separate-nots statements)
Separates normal (true) `not` (false) statements from a list
separate-operands
(separate-operands statements)
If un-separated operands are present, this function separates them and returns
separate-statements
(separate-statements clause-data)
Seprates where clause statements based on the logical operators they are tied with
un-separated-operands?
(un-separated-operands? statement)
Checks if the operands of the where statement are separated (by space) or not
For e.g. Operands are separated in the case of "a = 1"
And not separated in casde of "a=1"
Returns the matched operation in the statement, if un-separated.