<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shojisuba</author_name>
  <author_url>https://blog.hatena.ne.jp/shojisuba/</author_url>
  <blog_title>simple-web-system technology</blog_title>
  <blog_url>https://www.simple-web-system.work/</blog_url>
  <categories>
  </categories>
  <description>最近 Cloudflare D1 を触ってて、「あれ？データが反映されない？」みたいなことが起きた。 調べてみたら、wrangler 経由で D1 にアクセスするときに “local” と “remote” という概念があることを知った。 最初は「どうせ全部 Cloudflare 上（= remote）につながってるでしょ」と思っていたけど、 実際はそうじゃなくて、デフォルトでは local（手元環境のsqlite）に接続される。 wrangler.jsonc の設定ポイント D1 の接続設定を wrangler.jsonc に書くとき、例えばこんな感じで remote: true を入れると…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.simple-web-system.work%2Fentry%2F2025%2F10%2F05%2F193004&quot; title=&quot; Cloudflare D1メモ：local と remote の違いにハマった話 - simple-web-system technology&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>2025-10-05 19:30:04</published>
  <title> Cloudflare D1メモ：local と remote の違いにハマった話</title>
  <type>rich</type>
  <url>https://www.simple-web-system.work/entry/2025/10/05/193004</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
