Your coding agent FREE
Give Claude Code or another agent the bqto skill and ask in plain words.
You:Count the orders in orders-db. It's the Cloud SQL instance in my-project.
Checked bqto, gcloud and psql, the instance, its databases and users. PGPASSWORD is set.
Run this command?
bqto connect --no-input --duration 15m \ --project my-project --service cloudsql \ --instance orders-db -- sh -c 'psql \ "host=$PGHOST port=$PGPORT user=postgres dbname=postgres sslmode=require" \ -At -c "select count(*) from orders"'
You:Yes
There are 5 orders in public.orders, the only orders table, in the postgres database on orders-db.
The temporary bastion has been deleted.
1m 40s, bastion included.