Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's no object in Clojure, so there's no need for an Object Relational Mapper. You just work directly of the query result sets, which the SQL library itself can conveniently turn into rows of maps if you prefer (over rows of lists).


No object is kinda mind blowing since it has java interop. I guess everything just becomes maps?


Well, there are objects through interop, and under the hood everything is compiled into one. But when you develop an app, you won't be defining classes and instantiating objects of them, you'll be instead writing functions that return maps or other data-structures.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: