Back to front pageView on Hacker News (opens in a new tab)Show HN: I wrote a free eBook about many lesser-known/secret database tricks (opens in a new tab)sqlfordevs.com865 pointsby tpetry (on Hacker News)3 years agosqlfordevs.com (opens in a new tab)SQLforDevs.com - Next-Level Database Techniques for Developers EbookStop treating the database as dumb storage and use its extended features. There's a lot you can use.Comments (174) 54 threadsShow all commentsShowing thread 11 of 54midnightmonster3 years ago#This is cool! Re: multiple aggregates in one query, I wrote a Ruby gem that adds an even-more-powerful and multi-database-compatible version to ActiveRecord. (I have tested Postgres, MySQL, and SQLite; others probably work, too.)https://github.com/midnightmonster/activerecord-summarize
Show HN: I wrote a free eBook about many lesser-known/secret database tricks (opens in a new tab)sqlfordevs.com865 pointsby tpetry (on Hacker News)3 years ago
midnightmonster3 years ago#This is cool! Re: multiple aggregates in one query, I wrote a Ruby gem that adds an even-more-powerful and multi-database-compatible version to ActiveRecord. (I have tested Postgres, MySQL, and SQLite; others probably work, too.)https://github.com/midnightmonster/activerecord-summarize
Comments (174) 54 threads
Show all comments
Showing thread 11 of 54
https://github.com/midnightmonster/activerecord-summarize