|
 |
Darren New wrote:
> So, basically, I want to be able to express a fairly general boolean
> equation on an arbitrary collection of variables and store it as a SQL
> table.
Just to clarify, this doesn't have to be fast. I'm just looking for a
structured representation. I'm happy to do multiple searches and such, since
the result will be cached and only regenerated for the collections that
change or when movies are added or whatever.
I'm just trying to avoid storing the selection criterion as a big TEXT blob
that looks like an equation.
I'm thinking like a table of "has all of", a table of "has some of" and a
table of "has none of", for example, except I'm not sure that's flexible enough.
--
Darren New, San Diego CA, USA (PST)
Eiffel - The language that lets you specify exactly
that the code does what you think it does, even if
it doesn't do what you wanted.
Post a reply to this message
|
 |