有谁知道如何做到这一点?
(get-lists ["free" "food"])
->
Select name
From Lists
Where name like '%free%' and name like '%food%'
我努力了:
-- :name get-lists :? :*
Select id, name
from Lists
where
--~ (clojure.string/join "" (interpose " AND " (map #(str "name LIKE '%" % "%'") :sKeyWords)))
但这当然行不通。有人可以指出我正确的方向吗?