Re: [Qgis-user] [QGIS-Developer] Bug with GeoPackage and Expressions?

2021-07-29 Thread C Hamilton
Ultimately what I am trying to do is to revamp the Search Layers plugin ( https://plugins.qgis.org/plugins/searchlayers/) to allow searching using two different strings with NOT, AND, OR operators, case dependent or independent, with qualifiers where the strings are an exact match, within the

Re: [Qgis-user] [QGIS-Developer] Bug with GeoPackage and Expressions?

2021-07-28 Thread Nyall Dawson
On Thu, 29 Jul 2021 at 15:31, Matthias Kuhn wrote: > > Can you fill a bug for this? The expression compiler in QGIS should not > forward it to ogr/gpkg/sqlite in this case. My interpretation is that Calvin is setting a layer filter, so QGIS expressions aren't involved (i.e. no bug). Nyall > >

Re: [Qgis-user] [QGIS-Developer] Bug with GeoPackage and Expressions?

2021-07-28 Thread Even Rouault
SQLite, which is the underneath database engine for GeoPackage, doesn't support ILIKE. The SQLite LIKE operator is actually case insensitive for ASCII characters. See paragraph 5 "The LIKE, GLOB, REGEXP, and MATCH operators" of https://www.sqlite.org/lang_expr.html Le 28/07/2021 à 21:43, C