Re: [gdal-dev] determine default SQL dialect

2022-08-02 Thread Nyall Dawson
On Wed, 3 Aug 2022 at 02:25, Even Rouault wrote: > > > Le 02/08/2022 à 09:42, Michael Sumner a écrit : > > Is it possible to determine the default SQL dialect that will be used > > in the C++ API? > > Short answer: no > > Long answer: for a driver that is backed by a SQL engine (SQLite, GPKG, > P

Re: [gdal-dev] determine default SQL dialect

2022-08-02 Thread Michael Sumner
. > > MONGO_DB is documented in https://gdal.org/drivers/vector/mongodbv3.html. > > > > -Jukka Rahkonen- > > > > *Lähettäjä:* gdal-dev *Puolesta *Michael > Sumner > *Lähetetty:* tiistai 2. elokuuta 2022 10.43 > *Vastaanottaja:* gdal-dev > *Aihe:* [gdal-dev] determ

Re: [gdal-dev] determine default SQL dialect

2022-08-02 Thread Michael Sumner
Excellent, thanks very much. Best, Mike On Wed, 3 Aug 2022, 02:30 Even Rouault, wrote: > > Le 02/08/2022 à 18:25, Even Rouault a écrit : > > > > Le 02/08/2022 à 09:42, Michael Sumner a écrit : > >> Is it possible to determine the default SQL dialect that will be > >> used in the C++ API? > > >

Re: [gdal-dev] determine default SQL dialect

2022-08-02 Thread Even Rouault
Le 02/08/2022 à 18:25, Even Rouault a écrit : Le 02/08/2022 à 09:42, Michael Sumner a écrit : Is it possible to determine the default SQL dialect  that will be used in the C++ API? Short answer: no Long answer: for a driver that is backed by a SQL engine (SQLite, GPKG, PG, MySQL, OCI, etc.

Re: [gdal-dev] determine default SQL dialect

2022-08-02 Thread Even Rouault
Le 02/08/2022 à 09:42, Michael Sumner a écrit : Is it possible to determine the default SQL dialect  that will be used in the C++ API? Short answer: no Long answer: for a driver that is backed by a SQL engine (SQLite, GPKG, PG, MySQL, OCI, etc.), it will default to the RDBMS SQL engine, oth

Re: [gdal-dev] determine default SQL dialect

2022-08-02 Thread Rahkonen Jukka
/elasticsearch.html. MONGO_DB is documented in https://gdal.org/drivers/vector/mongodbv3.html. -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Michael Sumner Lähetetty: tiistai 2. elokuuta 2022 10.43 Vastaanottaja: gdal-dev Aihe: [gdal-dev] determine default SQL dialect Is it possible to determine

[gdal-dev] determine default SQL dialect

2022-08-02 Thread Michael Sumner
Is it possible to determine the default SQL dialect that will be used in the C++ API? It seems like the logic to pivot on dialect choice is only available to drivers internally (they know if they have one), so a map of formats is enough - but I wonder if I'm missing an API hook. Also, there appe