News for hackers. Stuff that matters.
Re:I hate queries by jcapote on Saturday September 25, 2010 @04:23PM (#1727718)
Re:I hate queries by dasil003 on Saturday September 25, 2010 @04:42PM (#1727787)
Really, no query in 4 years? What happens when the business people need some new data view? Do you dump all the data and reduce it via some one off procedure?
Re:I hate queries by mgkimsal on Saturday September 25, 2010 @04:48PM (#1727803)
I can't speak to the GP, but I can say I've written a few systems ('moderate' in size, with a growing dataset) and was able to do the first pass and go for 6 months or so without needing to write any SQL. I ended up writing some because some reports needed to be run fast. The ORM was working, but doing more than it needed to, and it was easier to just write the SQL in that case than it was to try to figure out how to express the use cases in the ORM (GORM/Grails, using Hibernate under the hood).

I can't say I never write queries, but on the few Grails projects I've worked on over the past 18 months or so, I've probably needed to write fewer than 15 queries total.

Re:I hate queries by rbranson on Saturday September 25, 2010 @08:19PM (#1728201)
This has been my experience with Rails as well. Most of the time, no SQL is needed, but it's easy to access when it is needed.
Re:I hate queries by wjessup on Saturday September 25, 2010 @04:36PM (#1727761)
was thinking "redis" the whole time.