Created
June 29, 2020 08:43
-
-
Save tgk/5667cddae8d458e594604acd4338cba3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; virtual fields map to multimethods that implement helpers | |
(sql/load :rental_ads 42 :car :user :picture_url) | |
;; => "https://..." | |
;; multimethods can look at meta information for maps | |
(meta rental-ad) | |
;; => {:table :rental_ads} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment