We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have this
(println (k/sql-only (k/update db/account (k/set-fields {:name new-name :password new-password}) (k/where {:id (:id current-user-info)}))))
which results in
UPDATE "account" SET WHERE ("account"."id" = ?)
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
What's your defentity look like for account?
defentity
account
Sorry, something went wrong.
Here it is @enragedginger
(defn fix-email-case [{email :email :as acct}] (if email (assoc acct :email (str/lower-case email)))) (k/defentity account (k/entity-fields :id :email :name :password) (k/prepare fix-email-case) (k/transform fix-email-case) (k/has-many token) (k/many-to-many kid :permission))
No branches or pull requests
I have this
which results in
What am I doing wrong?
The text was updated successfully, but these errors were encountered: