]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/api/connection.py
add deletable endpoint
[nominatim.git] / nominatim / api / connection.py
index 49dad6640fed204a8e40e41721a272d9082fdc0a..72cabf7814bd4d5402d4b99dada5ce720fd8c852 100644 (file)
@@ -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)