update readme link to cms
This commit is contained in:
parent
e5e428165f
commit
c60a0e1de0
2 changed files with 1 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Backend application to store my code snippets and make them available via REST API.
|
||||
|
||||
[CLI CMS Companion Project](https://git.sr.ht/~travisshears/code-snippets-cli-cms)
|
||||
[TUI CMS / MCP server companion project](https://git.travisshears.com/travisshears/snippets_cms)
|
||||
|
||||
This project is written in [Clojure](https://clojure.org/) and data is stored in [XTDB](https://xtdb.dev/).
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@
|
|||
(xt/execute-tx client [[:patch-docs :snippets (merge {:xt/id id} patch)]]))
|
||||
|
||||
(defn list-tags []
|
||||
;; (xt/q client '(-> (from :snippets [{:xt/id id} tags]) (unnest {:tag tags}) (without :tags) (aggregate tag {:ids (array-agg id)}))))
|
||||
(xt/q client '(-> (from :snippets [{:xt/id id} tags]) (unnest {:tag tags}) (without :tags) (aggregate tag {:count (count id)}))))
|
||||
|
||||
(defn get-snippets-by-tag [tag]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue