tag:blogger.com,1999:blog-2396375578166507166.post2384179760566100145..comments2023-09-10T10:26:29.012+02:00Comments on Christophe Simonis @ Tiny: New domain notationChristophe Simonishttp://www.blogger.com/profile/07257677913888827668noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-2396375578166507166.post-84141461887556033362008-08-06T22:40:00.000+02:002008-08-06T22:40:00.000+02:00Hi Stephane, yeah I agree the current domain thing...Hi Stephane, yeah I agree the current domain thing, while user friendly is somewhat limited.<BR/><BR/>Ideally I would like to be able to perform any select I want that just return the expect record fields among others eventually. I would like to be able to do group by and order like I want...<BR/><BR/>I think a nice API to get inspired by is the Rails ActiveRecord base find method and its :conditions param, or the find_by_sql method eventyally, see here:<BR/>http://api.rubyonrails.org/classes/ActiveRecord/Base.html<BR/><BR/>Now, I don't know if something backward compatible might be found, but I think that if you really want something useful in many situations, then you should look for something that map pretty much to an SQL without loosing too much of its power.<BR/><BR/>Still, having AND and OR operator is already something nice. But as I said I would be interested in adding an order criteria too at least.<BR/><BR/>Keep it up!<BR/><BR/>Raphaël Valyi.<BR/>Smile.frRaphaël Valyihttps://www.blogger.com/profile/01805258585519968165noreply@blogger.com