>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
      (bind
         (prove *Query) (link @A) ) ) )

On Thu, May 26, 2011 at 2:40 AM, Edwin Eyan Moragas <e...@yndy.org> wrote:
>
> 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
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to