add matching helper
This commit is contained in:
parent
17dbbce0d2
commit
2f99103ed1
1 changed files with 12 additions and 3 deletions
|
|
@ -322,6 +322,15 @@
|
||||||
[& args]
|
[& args]
|
||||||
(generic :create-view args))
|
(generic :create-view args))
|
||||||
|
|
||||||
|
(defn create-or-replace-view
|
||||||
|
"Accepts a single view name to create.
|
||||||
|
|
||||||
|
(-> (create-or-replace-view :cities)
|
||||||
|
(select :*) (from :city))"
|
||||||
|
{:arglists '([view])}
|
||||||
|
[& args]
|
||||||
|
(generic :create-or-replace-view args))
|
||||||
|
|
||||||
(defn create-materialized-view
|
(defn create-materialized-view
|
||||||
"Accepts a single view name to create.
|
"Accepts a single view name to create.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue