Loading ...
Sorry, an error occurred while loading the content.

1Flexible queries

Expand Messages
  • anodari
    Apr 27, 2008
    • 0 Attachment

      Taffy DB is a great piece of software!

      I'm testing to use it in a CDRom project against a database with about
      15k records.

      There are some simple method I could use optional parameters in a query?

      Suppose I have 2 independent optional parameters to filter: Year and
      City. I want to filter only those the user has filled.

      It worked using eval:
      qry = "rsltSet = data.get({year:'" + year + "', city:'" + city + "'})";

      But that looks ugly.

      Some suggestions?

      thank you.

    • Show all 2 messages in this topic