Hi Ryan,

There is no way to do that in orbit.model right now, you need to drop
to straight LuaSQL to do your query if you want to use DISTINCT or
select just certain fields instead of all of them. Both are easy
enough to add for the next version of Orbit, though, I just need to
test them properly.

--
Fabio Mascarenhas

On Thu, Oct 15, 2009 at 5:32 PM, Ryan Pusztai <[email protected]> wrote:
> Hi,
>
> I am new to Orbit (and web frameworks) and I need to know how to build my
> database queries. Specifically I want to use the 'distinct' keyword. I feel
> like this is only the first time that I might need to build my own query.
> Can someone please explain how that should best be done in Orbit. Thanks.
> --
> Regards,
> Ryan
>
> _______________________________________________
> Kepler-Project mailing list
> [email protected]
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
> http://www.keplerproject.org/
>

_______________________________________________
Kepler-Project mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to