{"version":"1.0","blog_url":"https://y0m0r.hateblo.jp/","published":"2012-11-01 23:36:54","provider_url":"https://hatena.blog","width":"100%","image_url":null,"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20121101%2F1351780614\" title=\"Django\u3067Bulk Insert - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","author_name":"yuheiomori0718","description":"cursor\u306eexecutemany\u3067bulk insert\u306b\u306a\u3063\u305f mysql-python\u3067\u3057\u304b\u8a66\u3057\u3066\u3044\u306a\u3044models.py from django.db import models class Book(models.Model): name = models.CharField(max_length=255) price = models.IntegerField() published = models.DateTimeField() featured = models.BooleanField() cursor = connection.cursor() sql = \"\"\"INS\u2026","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","categories":["django","memo"],"type":"rich","title":"Django\u3067Bulk Insert","url":"https://y0m0r.hateblo.jp/entry/20121101/1351780614"}