Table: planetscale_database_branch
List database branches in your account.
Examples
List all branches for all databases
select *from planetscale_database_branch
List branches for a specific database
select *from planetscale_database_branchwhere database_name = 'test'
Branches derived from the main branch
select *from planetscale_database_branchwhere database_name = 'test' and parent_branch = 'main'
.inspect planetscale_database_branch
Database Branches in the PlanetScale account.
Name | Type | Description |
---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. |
access_host_url | text | Host name to access the database. |
created_at | timestamp with time zone | When the branch was created. |
database_name | text | Name of the database. |
name | text | Name of the branch. |
organization_name | text | Name of the organization. |
parent_branch | text | Parent of this branch. |
production | boolean | True if this branch is in production. |
ready | boolean | True if the branch is ready. |
region_slug | text | Region where the database is located. |
updated_at | timestamp with time zone | When the branch was updated. |