X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4bb4db0668a37979725678a1690f6163d5cae03f..afdbdb02a12193d75ba7670514779eb25fd3aa25:/nominatim/api/connection.py diff --git a/nominatim/api/connection.py b/nominatim/api/connection.py index 49dad664..72cabf78 100644 --- a/nominatim/api/connection.py +++ b/nominatim/api/connection.py @@ -38,7 +38,7 @@ class SearchConnection: ) -> Any: """ Execute a 'scalar()' query on the connection. """ - log().sql(self.connection, sql) + log().sql(self.connection, sql, params) return await self.connection.scalar(sql, params) @@ -47,7 +47,7 @@ class SearchConnection: ) -> 'sa.Result[Any]': """ Execute a 'execute()' query on the connection. """ - log().sql(self.connection, sql) + log().sql(self.connection, sql, params) return await self.connection.execute(sql, params)