V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
shadeofgod

写了一个简单易用的 Cloudflare D1 database viewer,支持本地 sqlite 和远程 d1 数据库

  •  
  •   shadeofgod ·
    zoubingwu · Sep 29, 2024 · 2070 views
    This topic created in 578 days ago, the information mentioned may be changed or developed.

    https://cloudflare-d1-viewer.pages.dev/

    如果你正在在使用 Cloudflare D1 的话,可以很方便的查看账号下的 D1 数据库信息。

    本地开发的话,D1 会使用 sqlite ,但不会持久存储,如果需要持久化可以加上 --persist 的 flag ,例如 wrangler pages dev src --d1=<BINDING> --persist,会写入到项目文件夹下 .wrangler/state/d1/<BINDING>.sqlite3 位置。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2636 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 11:27 · PVG 19:27 · LAX 04:27 · JFK 07:27
    ♥ Do have faith in what you're doing.