[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: SQL syntax in Lua?
- From: PA <petite.abeille@...>
- Date: Wed, 8 Mar 2006 18:51:54 +0100
On Mar 08, 2006, at 18:33, Fabian Peña wrote:
Where("id",GREATER,0,AND,"id",LESS_OR_EQUAL,10) :-P
Hmmm... what about grouping?
( ( id > 0 and id < 10 ) or ( date = today ) )
Perhaps one could use something like Han Zhao's Lip syntax:
{ { id, gt, 0 }, And { id, lt, 10 }, Or { date, eq, today } }
http://luaforge.net/forum/forum.php?forum_id=709
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/