Hi Fabio, On Thu, Oct 29, 2009 at 4:15 PM, Fabio Mascarenhas <[email protected]>wrote:
> I have just released Orbit 2.1.0 in the main LuaRocks repository. Here is > the changelog: > > * better decoupling of orbit and orbit.model > * support for anything with a match method as patterns > * new options for orbit.model finders: distinct, fields > * count option for orbit.model now limits number of rows in the SQL > * logging of queries in orbit.model > * overhaul of the "orbit" script: better options, --help, sets application > path > * content_type method in the web object to set content type > * support for PUT and DELETE (methods `dispatch_put` and `dispatch_delete`) > * orbit.model.recycle(*conn_builder*, *timeout*) function, to make a > connection that automatically reopens after a certain time > * more samples in the samples folder, and a README > * added a "higher-order" $if to Orbit Pages, using features of Cosmo > 9.09.22 > > Quite a list! I will be highlighting some of the new features in blog posts > during the next few days. The Orbit rock now installs the launchers for > Orbit pages, op.cgi and op.fcgi, as we are dropping the old Kepler > installer. This also means that the samples are a little more hidden: you > need to go to tour lib/luarocks/rocks/orbit/2.1.0-1/samples folder. > > The web pages for Orbit now live on http://keplerproject.github.com/orbit. > > Looks great. Thanks for the updates. Two quick questions: 1. How do I use the new option 'distinct' in the finders. Like this: find_first("author = ? and year_pub > ?", { "John Doe", 1995, order = "year_pub asc", count = 5, fields = { "id", "title" }, distinct = { "title" } }) 2. How do you update an already installed Orbit install? I am new to the LuaRocks thing and want it to go smooth. -- Regards, Ryan
_______________________________________________ Kepler-Project mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/
