Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defn save!
- "Persists an account"
- [account]
- (-> (common/db)
- (mc/save-and-return "accounts" account)))
- (defn find-by-id
- "Find account by given query"
- [id]
- (-> (common/db)
- (mc/find-map-by-id "accounts" id)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement