<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gologius</author_name>
  <author_url>https://blog.hatena.ne.jp/gologius/</author_url>
  <blog_title>gologiusの巣</blog_title>
  <blog_url>https://gologius.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>総括 SQLiteにおいて、SQLの書き方によっては文法エラーにならずに、 意図しない値がDBにセットされる模様。 ※見解が間違っていたらごめんなさいm( &quot;m) 背景 下記のようなPHP関数を実行する。 実行結果としては、特定IDのレコードのカラム値がUPDATEされてほしい。 function update($id, $manual_label1, $manual_label2) { var_dump($id, $manual_label1, $manual_label2); $pdo = new PDO(DB_DSN); $pdo-&gt;beginTransaction(); $sql = …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgologius.hatenadiary.com%2Fentry%2F2024%2F02%2F11%2F213333&quot; title=&quot;PHP＋SQLiteで、UPDATE文を実行すると、エラーを吐かずになぜか0 がセットされる - gologiusの巣&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-02-11 21:33:33</published>
  <title>PHP＋SQLiteで、UPDATE文を実行すると、エラーを吐かずになぜか0 がセットされる</title>
  <type>rich</type>
  <url>https://gologius.hatenadiary.com/entry/2024/02/11/213333</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
