Get Filtered Records

getFilteredRecords(db, tableName, keyValues, fields, like, ...)

Arguments

db

database name or database file

tableName

name of the table from which to read records

keyValues

list of key = value pairs with the keys representing field names of the table tableName, defining filter criteria

fields

table fields to be selected

like

if TRUE the SQL LIKE operator is used instead of the equal operator = when matching the values in keyValues with the table fields

...

additonal arguments passed to selectFromDb