该介绍目前仅提供英文版本。
Create a Workers application that talks to an existing PostgreSQL database using TCP Sockets, then speed up connections with Hyperdrive. The Worker reads from and writes to a products table.
What you’ll learn
- Add a PostgreSQL client library to a Worker
- Configure and open the database connection
- Query and insert rows
- Deploy, then add Hyperdrive for pooled, faster connections
Cloudflare products used
Workers, Hyperdrive.
Follow the full, step-by-step tutorial in Cloudflare’s documentation.