以下のMSSQLクエリを使用して、Kormaエンティティを特定できません。 ;; Subselects can be used as entities too!
(defentity subselect-example
(table (subselect users
(where {:active true}))
:activeUsers))
: sele
とデシベルの行を挿入し、私は次のスキーマを使用するDBのテーブルを持っている: CREATE TABLE users
(id SERIAL PRIMARY KEY,
username TEXT UNIQUE NOT NULL,
password TEXT NOT NULL,
email TEXT NOT NULL,
admin BOOLEAN NOT NU
私はKormaを使用してLuminusプロジェクトに設定しようとしています。コルマは、PostgreSQLのため、以下のヘルパーを持っています ;; how exactly should I pass the connection string here?
;; in particular, for production env.
(def pg (postgres ..))
(defd