psycopgEasy Playground

Next-gen PostgreSQL adapter (psycopg 3) with async support

Getting started with psycopgRun locally
Install
pip install 'psycopg[binary]'
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: psycopg)

psycopg is a third-party package. Next-gen PostgreSQL adapter (psycopg 3) with async support. Install with: pip install 'psycopg[binary]'

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?