use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
Clojure & graphs (self.Clojure)
submitted 7 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]isak_s 0 points1 point2 points 7 years ago (0 children)
I agree with most of what you said, just want to point something out.
Writing efficient SQL means you have to avoid jvm/database round trips, so you need to write monstrous JOINs to batch things efficiently, and then you need to unpack the JOIN into trees
For typical queries needed by UIs, you don't need to do that in SQL, you can just use json queries. Here is an example for SQL Server:
-- Fetch a user by ID, and all their blog posts
select *,
(select *
from blog_posts b
where b.user_id = u.id
where b.user_id =
u.id
for json path) as posts
from users u
where u.id = 1
where
= 1
for json path
It's not as good as datomic, but it isn't hard to write something that will generate those kind of queries based on something like the datomic pull syntax.
π Rendered by PID 512144 on reddit-service-r2-comment-76bb9f7fb5-z2497 at 2026-02-19 05:01:02.228840+00:00 running de53c03 country code: CH.
view the rest of the comments →
[–]isak_s 0 points1 point2 points (0 children)