{"description":"\u306f\u3058\u3081\u306b Psycopg2\u306emogrify\u306bint\u578b\u306e\u8981\u7d20\u30921\u3064\u6e21\u3057\u3066\u3001\u30a8\u30b9\u30b1\u30fc\u30d7\u3057\u305fSQL\u3092\u53d6\u5f97\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 \u74b0\u5883 AWS Lambda Python3.6 PostgreSQL9.6 \u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc \"errorMessage\": \"'int' object does not support indexing\", \"errorType\": \"TypeError \u539f\u56e0 \u30bf\u30d7\u30eb\u306e\u8981\u7d20\u304c1\u3064\u306e\u5834\u5408\u306e\u6587\u6cd5\u304c\u8aa4\u3063\u3066\u3044\u308b\u305f\u3081\u3002\u5177\u4f53\u7684\u306b\u306f\u30ab\u30f3\u30de\u304c\u306a\u3044\u305f\u3081\u3002 \u30c0\u30e1\u306a\u4f8b query = \"DELETE FROM public.hoge WHERE hoge_id = %s\" val\u2026","type":"rich","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yokoyan.net%2Fentry%2F2018%2F10%2F12%2F183250\" title=\"\u3010Python\uff0bPostgres\u3011&#39;int&#39; object does not support indexing\u304c\u767a\u751f\u3057\u305f\u3068\u304d\u306e\u5bfe\u51e6\u6cd5\u3002\u30bf\u30d7\u30eb\u306e\u8981\u7d20\u304c1\u3064\u306e\u5834\u5408\u3067\u3082\u30ab\u30f3\u30de\u304c\u5fc5\u8981\u3002 - \u7d19\u4e00\u91cd\u306e\u7a4d\u307f\u91cd\u306d\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u3010Python\uff0bPostgres\u3011'int' object does not support indexing\u304c\u767a\u751f\u3057\u305f\u3068\u304d\u306e\u5bfe\u51e6\u6cd5\u3002\u30bf\u30d7\u30eb\u306e\u8981\u7d20\u304c1\u3064\u306e\u5834\u5408\u3067\u3082\u30ab\u30f3\u30de\u304c\u5fc5\u8981\u3002","version":"1.0","height":"190","blog_title":"\u7d19\u4e00\u91cd\u306e\u7a4d\u307f\u91cd\u306d","url":"https://www.yokoyan.net/entry/2018/10/12/183250","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/yokoyantech/","author_name":"yokoyantech","published":"2018-10-12 18:32:50","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/y/yokoyantech/20181012/20181012183231.png","provider_name":"Hatena Blog","blog_url":"https://www.yokoyan.net/","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","Python","PostgreSQL"]}