turbot/planetscale

GitHub
steampipe plugin install planetscalesteampipe plugin install planetscale

Table: planetscale_database

List databases in your account.

Examples

List all databases

select
*
from
planetscale_database

Databases created in the last week

select
*
from
planetscale_database
where
age(created_at) < interval '7 days'

Databases in US regions

select
*
from
planetscale_database
where
region like 'us-%'

.inspect planetscale_database

Databases in the PlanetScale account.

NameTypeDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
created_attimestamp with time zoneWhen the database was created.
nametextName of the database.
notestextNotes for the database.
region_slugtextRegion where the database is located.
updated_attimestamp with time zoneWhen the database was updated.