SQLTemplate / inExp

From: Cris Daniluk (cris.danilu..mail.com)
Date: Mon Feb 06 2006 - 15:43:44 EST

  • Next message: Andrus Adamchik: "Re: SQLTemplate / inExp"

    Apologies if I've overlooked something simple, but for the life of me
    I can't figure out how to bind a list to a query using something like
    #bind().

    I'd basically like to do a simple IN query:

    SELECT * FROM table WHERE field IN ($list)

    It doesn't seem like SQLTemplateProcessor and BindDirective support it
    now, but it seems like it could by simply detecting Collection and
    making a few simple changes to the query output.

    Is there another way?

    Cris



    This archive was generated by hypermail 2.0.0 : Mon Feb 06 2006 - 15:43:46 EST