Re: [sqlite] MATCH multiple

2012-08-10 Thread Dan Kennedy

On 08/10/2012 12:48 PM, E. Timothy Uy wrote:

I recently switched a table to FTS4. Usually I query this table using the
IN operator, e.g.,

SELECT * FROM Table WHERE term IN (a,b,c)

If I want to use MATCH, is my only option

SELECT * FROM Table WHERE term MATCH 'a or b or c'


I think the above is your best option. Don't forget to use
CAPITAL letters for "OR" or it won't work.

Dan.


___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] MATCH multiple

2012-08-09 Thread E. Timothy Uy
I recently switched a table to FTS4. Usually I query this table using the
IN operator, e.g.,

   SELECT * FROM Table WHERE term IN (a,b,c)

If I want to use MATCH, is my only option

   SELECT * FROM Table WHERE term MATCH 'a or b or c'

or is there an equivalent to IN?

Much obliged.

Respectfully,
Tim
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users