Dear Monks
Before I start creating my own solution(which will surely turn out to be inefficient): which is the standard way to reiterate the query of a sqlite database for multiple values?
my $dbh = DBI->connect( "dbi:SQLite:$our_db" ) || die "Cannot connect: + $DBI::errstr"; my $all = $dbh->selectall_arrayref("SELECT ID, value1, value2 FROM ta +ble WHERE value1 = '$query'");
$query can be a variable number of values (apple, pie, etc. it is not a fix number) I want to match in my database. The first think I can think of is to use a loop... Thank you for pointing me to the right direction.
In reply to dbi:SQLite multiple query by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |