Workflow
- •Read
.env.stage-dbfor connection credentials - •Connect to the PlanetScale staging branch (MySQL)
- •Ask the user what queries or mutations to execute
- •Convert user requests to SQL and execute them against the database
连接 PlanetScale 预发布数据库分支,并执行 SQL 查询或数据变更操作。当用户希望查询预发布数据库、在预发布环境中运行 SQL、检查预发布数据,或在 PlanetScale 预发布分支上执行数据变更时,可选用此功能。
--- frontmattername: planetscale-stage-db description: Connect to the PlanetScale staging database branch and execute SQL queries/mutations. Use when the user wants to query the staging database, run SQL against the staging environment, inspect staging data, or execute mutations on the staging PlanetScale branch.
.env.stage-db for connection credentials