cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

Add note to node-postgres tutorial to highlight it doesn't work on Pages

Open petebacondarwin opened this issue 9 months ago • 1 comments

Existing documentation URL(s)

https://developers.cloudflare.com/workers/tutorials/postgres/

What changes are you suggesting?

Add a note to the top of the tutorial that calls out the fact that this approach only works in a Worker and not in a Pages project.

Additional information

See https://github.com/cloudflare/workers-sdk/pull/2541#issuecomment-1964627452

petebacondarwin avatar May 02 '24 15:05 petebacondarwin

Its not from this repo, but its related. Its unclear how to use pg in a next-on-pages project. Dev & Deploy.

webdeb avatar May 08 '24 15:05 webdeb

@petebacondarwin I read through the tutorial and I thought it was pretty clear that this was for Cloudflare Workers (it's in the Workers space, it clearly calls out the product name, etc.). Not sure if the content was updated and that's why it's clear to me?

If updates should be made, feel free to suggest a PR.

KimJ15 avatar Oct 01 '24 16:10 KimJ15

Looks like it was heavily updated in Aug and Sep. Thanks for checking.

petebacondarwin avatar Oct 01 '24 17:10 petebacondarwin