> On Thu, May 26, 2011 at 2:40 AM, Edwin Eyan Moragas wrote:
> >
> > Hi list,
> >
> > after checking the 'select' predicate doc, i can't find any way to
> > limit the number of results of the query.
On Thu, May 26, 2011 at 10:30:13AM +0700, Henrik Sarvell wrote:
> >From http://www.prodevtips.com/
>From http://www.prodevtips.com/2008/04/28/advanced-oodb-in-pico-lisp/ we have:
(setq *Query (goal '(@Headline "2008" (db headline +Article @Headline @A
(do 1 (bind (prove *Query) (println (get @A 'headline
Instead of the less than practical second row you could do this:
(make
(do 10
Hi list,
after checking the 'select' predicate doc, i can't find any way to
limit the number of results of the query.
i'm thinking along the lines of the LIMIT clause of SQL.
thank you.
/e
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe