Commits

Anonymous committed b018bbc

add >| function as a flat-format alias to csnames

Comments (0)

Files changed (1)

src/main/clj/org/bituf/sqlrat/clause.clj

           (map as-clause tokens-vec))))))
 
 
+(defn >|
+  "Flat-style calling format for the 'csnames' function"
+  [& tokens] (csnames tokens))
+
+
 ;; === The LIMIT clause ===
 
 (defn limit
 (def ^{:doc "Alias for 'sqlfn' function"}
       FN sqlfn)
 
+
 (defn as
   "Example: user=> (as :avgscore \"AVG(score)\")
             [\"AVG(score) AS avgscore\"]"