searchByName method
Implementation
searchByName(
selectQuery, GlobalSearchParameters params, LocalSqlDataStore sql) {
return selectQuery.where(buildAnd([
if (params.nameSearch != null)
buildOr([
sql.name.givenName.contains(
params.nameSearch!,
),
]),
]));
}