3 ms·
The SQL statements are not the problem. The problem is turning the list of tuples you get back into a usable data structure. Also, abstracting away SQL doesn'
by jrockway 17y ago
The SQL statements are not the problem. The problem is turning the list of tuples you get back into a usable data structure.
Also, abstracting away SQL doesn't mean you abstract away set algebra. It means you write "$current_user->messages( text => { -like => 'foo%' })->recipients" to get a list of people the current user sent messages containing the word "foobar" to, instead of some 200-character-long embedded program in another language. A good ORM is an essential abstraction.