{"categories":["Python"],"type":"rich","height":"190","published":"2015-07-29 17:37:25","author_name":"ShineSpark","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinespark.hatenablog.com%2Fentry%2F2015%2F07%2F29%2F173725\" title=\"Python\u3067\u306f\u5358\u8981\u7d20\u306e\u30bf\u30d7\u30eb\u306b\u306f\u30ab\u30f3\u30de\u3092\u4f7f\u3046 - \u4eba\u751f\u30b7\u30fc\u30b1\u30f3\u30b9\u30d6\u30ec\u30a4\u30af\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","url":"https://shinespark.hatenablog.com/entry/2015/07/29/173725","provider_url":"https://hatena.blog","blog_title":"\u4eba\u751f\u30b7\u30fc\u30b1\u30f3\u30b9\u30d6\u30ec\u30a4\u30af","description":"mysql.connector \u3092\u4f7f\u3063\u3066\u308b\u969b\u306b\u3001 cursor.execute('SELECT * FROM table WHERE hoge = %s', (fuge)) \u304c\u52d5\u304b\u305a\u306a\u3093\u3067\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u3044\u305f\u3089\u3001 mysql-connector-python/cursor.py at master \u00b7 mysql/mysql-connector-python \u306b cursor.execute(\"SELECT * FROM t1 WHERE id = %s\", (5,)) \u3068\u66f8\u3044\u3066\u304a\u308a\u3001(5,) \u3063\u3066\u306a\u3093\u305e\uff1f\u3068\u601d\u3063\u3066\u305f\u3089\u3001Python\u3067\u306f\u5358\u8981\u7d20\u306e\u30bf\u30d7\u30eb\u306b\u306f\u30ab\u30f3\u30de\u304c\u5fc5\u8981\u3089\u3057\u3044\u3002 4. \u7d44\u307f\u8fbc\u307f\u578b \u2014\u2026","version":"1.0","author_url":"https://blog.hatena.ne.jp/ShineSpark/","image_url":null,"title":"Python\u3067\u306f\u5358\u8981\u7d20\u306e\u30bf\u30d7\u30eb\u306b\u306f\u30ab\u30f3\u30de\u3092\u4f7f\u3046","blog_url":"https://shinespark.hatenablog.com/"}