Menu

DONE: Add the ability to specify a comma separated list of values when searching.

+4 votes

dbFront supports numeric ranges and selecting multiple lookup items but it would be great if

"Advanced Search allow the use of comma separated values. E.g. if I am searching for multiple serial numbers in a Product table, it'd be nice to be able to type 12345, 23456, 56789 and have dbFront return the corresponding data."

in Features (Done) by (4.7k points)
recategorized by

1 Answer

0 votes

dbFront version 1.1.3 supports Full-Text search on Text fields. Full-Text search is Enterprise functionality.

Using Full-Text search it is easy to construct a query that returns multiple values using the OR syntax.

Assuming you are looking for the values: red, green, blue, yellow, then the queries would be constructed as follows:

  • MySql: "B:red green blue". Note: The prefix "B:" forces advanced Boolean search in MySQL.

  • Oracle: "red OR green OR blue". Note: OR can be replaced with the pipe | or the comma ",".

  • SQL Server: "red OR green OR blue". Note: OR can be replaced with the pipe | character.

For more details see: Full-Text Search

by (52.4k points)
edited by
Welcome to the dbFront Q&A site, where you can ask questions and receive answers from other members of the community.
 | Minimalist Answer Theme by Digitizor Media
 |
Powered by Question2Answer
...