# 将 PlanetScale 接入 Open Flow

Source: https://openflow.run/zh-cn/integrations/planetscale/

[全部集成](https://openflow.run/zh-cn/integrations/)

通过 PlanetScale，让 AI 助手查看组织与数据库、检查分支并创建指定开发分支。

*   [10 个工具](https://openflow.run/zh-cn/integrations/planetscale/#integration-actions)
*   API 密钥
*   开发工具
*   数据与分析

[连接 PlanetScale](https://console.openflow.run/connections/planetscale)

每月 20,000 次免费应用调用（付费服务另计）

## 可以做什么

通过 PlanetScale，让 AI 助手查看组织与数据库、检查分支并创建指定开发分支。

### 查看数据库清单

列出数据库并读取选定数据库资料。

### 创建开发分支

查看已有分支并从指定父分支创建命名分支。

## 所有工具

10 个工具

### List Organizations

列出连接的服务令牌可用的 PlanetScale 组织。

`planetscale.list_organizations`

### Get Organization

按名称获取一个 PlanetScale 组织。

`planetscale.get_organization`

### List Databases

列出 PlanetScale 组织中的数据库。

`planetscale.list_databases`

### Get Database

按组织和数据库名称获取一个 PlanetScale 数据库。

`planetscale.get_database`

### Create Database

在 PlanetScale 组织中创建 MySQL 或 PostgreSQL 数据库。

`planetscale.create_database`

### Delete Database

删除一个 PlanetScale 数据库。

`planetscale.delete_database`

### List Branches

列出 PlanetScale 数据库中的分支。

`planetscale.list_branches`

### Get Branch

获取一个 PlanetScale 数据库分支。

`planetscale.get_branch`

### Create Branch

在 PlanetScale 数据库中创建分支。

`planetscale.create_branch`

### Delete Branch

删除 PlanetScale 数据库分支，可选择包含后代分支。

`planetscale.delete_branch`

没有符合搜索条件的工具。

## 将 PlanetScale 接入 Open Flow

[连接 PlanetScale](https://console.openflow.run/connections/planetscale)

每月 20,000 次免费应用调用（付费服务另计）
