{"html_url": "https://github.com/simonw/datasette/issues/411#issuecomment-519065799", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/411", "id": 519065799, "node_id": "MDEyOklzc3VlQ29tbWVudDUxOTA2NTc5OQ==", "user": {"value": 1055831, "label": "dazzag24"}, "created_at": "2019-08-07T12:00:36Z", "updated_at": "2019-08-07T12:00:36Z", "author_association": "NONE", "body": "Hi,\r\nApologies for the long delay.\r\n\r\nI tried your suggesting escaping approach:\r\n`SELECT a.pos AS rank, b.id, b.name, b.country, b.latitude AS latitude, b.longitude AS longitude, a.distance / 1000.0 AS dist_km FROM KNN AS a LEFT JOIN airports AS b ON (b.rowid = a.fid)WHERE f_table_name = 'airports' AND ref_geometry = MakePoint(:Long || \", \" || :Lat) AND max_items = 6;\r\n`\r\nand it returns this error:\r\n`wrong number of arguments to function MakePoint()`\r\n\r\nAnything else you suggest I try?\r\nThanks", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 410384988, "label": "How to pass named parameter into spatialite MakePoint() function"}, "performed_via_github_app": null}