Skip to content

Instantly share code, notes, and snippets.

@lambdahands lambdahands/phrases.clj
Last active Feb 28, 2018

What would you like to do?
(ns sql-formatter.core)
(def phrases
{:begin-clauses #{"left" "right" "inner" "outer" "group" "order"}
:end-clauses #{"where" "set" "having" "join" "from" "onto" "union"}
:logical #{"and" "or" "when" "else" "end"}
:quantifiers #{"in" "all" "exists" "some" "any"}
:dml #{"insert" "update" "delete"}
:misc #{"select" "on"}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.