(sql/delete-rows "tableName" ["scenarioname = ? AND scenarioid= ?" nil nil]))
出于某种原因,这不起作用......为什么?
答案 0 :(得分:2)
你想要的是
(sql/delete-rows :tablename ["scenarioName is null and scenarioid is null"])
或
(sql/delete! dbcon :tableName ["scenarioName is null and scenarioid is null"])
假设dbcon为您的数据库连接。
注释