-
-
Save tomjack/4409a999e2d35b29dec4 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
(defn convert-user-row-to-neo-struct [row] | |
(let [1st (-> (into {} row) | |
(rename-keys {:user_id :id}) | |
(select-keys [:id :login])) | |
2nd (filter :required_param 1st)] | |
(assoc 2nd :type "user")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment