Once enter into the container terminal,
psql -U postgres (postgres is the database name)
Now to list the tables,
\d+
Now to view contents of a table
TABLE upstreams;
references:
https://stackoverflow.com/questions/26040493/how-to-show-data-in-a-table-by-using-psql-command-line-interface
No comments:
Post a Comment