<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>PlugOut</author_name>
  <author_url>https://blog.hatena.ne.jp/PlugOut/</author_url>
  <blog_title>Unknown Region</blog_title>
  <blog_url>https://plugout.hateblo.jp/</blog_url>
  <categories>
    <anon>JSON</anon>
    <anon>MySQL</anon>
  </categories>
  <description>備忘録がてらメモ。 MySQL 5.7から利用できるようになった「JSON型」について、色々と落とし穴がある。 ここから先は、とあるDatabase(スキーマ)に「hoge」というテーブルを作成したものとして説明する。 例: table.sql CREATE TABLE hoge ( fuga json DEFAULT NULL ); [目次] JSON型のカラムには一般的にJSONパースできない値が登録できる そのままJSON型から任意の値を取得する際のダブルクォート 同名のキーがあってもINSERTは失敗しない 値に大きすぎたり小さすぎる数値を与えると内容がおかしくなる JSON型のカラム…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fplugout.hateblo.jp%2Fentry%2F2019%2F11%2F22%2F230534&quot; title=&quot;【MySQL】JSON型のカラムを操作する場合の落とし穴 - Unknown Region&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/P/PlugOut/20190202/20190202115021.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-22 23:05:34</published>
  <title>【MySQL】JSON型のカラムを操作する場合の落とし穴</title>
  <type>rich</type>
  <url>https://plugout.hateblo.jp/entry/2019/11/22/230534</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
