Liking cljdoc? Tell your friends :D
Clojure only.

macaw.rewrite


replace-namesclj

(replace-names sql
               parsed-ast
               {schema-renames :schemas
                table-renames :tables
                column-renames :columns
                :as renames})

Given a SQL query and its corresponding (untransformed) AST, apply the given table and column renames.

Given a SQL query and its corresponding (untransformed) AST, apply the given table and column renames.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close