Guest User

Untitled

a guest
Sep 14th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defn get-user-by-email [email]
  2.   (select {:u "Users" :a "Accounts"})
  3.     (join :u (= :u.user-id :a.user-id))
  4.     (where (= :u.email email))
  5.     (fetch-one)))
Add Comment
Please, Sign In to add comment