Database Exploration — Part 2: Run a Query

Database Exploration — Part 2: Run a Query

pgcli -d myapp -c 'SELECT * FROM users LIMIT 5'

Execute a SQL query directly from the command line using pgcli's -c flag to quickly inspect table contents without entering the interactive REPL. This non-interactive mode is ideal for scripting, quick data checks, and integrating database queries into shell workflows.

#workflow #pgcli

ダウンロード

⬇ GIF (35.1 KB) ⬇ MP4 (変換中...)

埋め込み

[![Database Exploration — Part 2: Run a Query](https://media.agentgif.com/preseed/workflow-db-explore-2/demo.gif)](https://agentgif.com/@agentgif/workflow-db-explore-2)
<a href="https://agentgif.com/@agentgif/workflow-db-explore-2"><img src="https://media.agentgif.com/preseed/workflow-db-explore-2/demo.gif" alt="Database Exploration — Part 2: Run a Query" width="1200"></a>
<iframe src="https://agentgif.com/embed/de28ENsk/" width="1200" height="660" frameborder="0" allowfullscreen></iframe>
<div data-agentgif="de28ENsk"></div><script src="https://agentgif.com/widget.js" async></script>
作成者: @agentgif · · 51 回視聴