cockroachdb: print only tuples

Viewed 39

is there any output option for cockroach sql command to print only tuples without column names and rows count?

psql has -t, --tuples-only print rows only flag.

1 Answers

I don't believe the cockroach sql CLI has a way to hide column names or row counts. It does accept a --format argument that lets you change the output format into CSV or other formats.

You can also connect to CockroachDB using psql and it will work fine.

Related