{"ref":"content:getting-started-with-cap-on-postgresql-nodejs","page":"/content/getting-started-with-cap-on-postgresql-nodejs","json":"/content/getting-started-with-cap-on-postgresql-nodejs.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"getting-started-with-cap-on-postgresql-nodejs","title":"Getting started with CAP on PostgreSQL (Node.js)","url":"https://community.sap.com/t5/technology-blog-posts-by-members/getting-started-with-cap-on-postgresql-node-js/ba-p/13459794","content_type":"blog","explains":["artifact:sapmentors-cds-pg","artifact:mikezaschka-cds-dbm","artifact:cap-js-postgres",{"ref":"capability:database-connectors","applies_to":{"ecosystems":["cap"]}}],"summary":"Running CAP on [PostgreSQL](external:postgresql) locally in 2020, when doing so meant the community packages [cds-pg](artifact:sapmentors-cds-pg) and cds-dbm. It now opens with a banner the author added later: [@sap/cds](artifact:sap-cds) 7.0.0 has native PostgreSQL support, use [@cap-js/postgres](artifact:cap-js-postgres) instead, with a pointer to a step-by-step guide for it. Worth having for that banner as much as for the content — a post that tells you not to follow it is a dated fact about where the answer moved.","short":"CAP on PostgreSQL with cds-pg and cds-dbm, since superseded","authors":["actor:mike-zaschka"],"published":"2020-11-16","sources":[{"url":"https://community.sap.com/t5/technology-blog-posts-by-members/getting-started-with-cap-on-postgresql-node-js/ba-p/13459794","title":"Getting started with CAP on PostgreSQL (Node.js) — SAP Community","checked":"2026-09-07"}],"provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-07"},"stale_findings":[{"token":"cds-pg","note":"The setup installs cds-pg and cds-dbm. The author added a note at the top of the post in 2023 pointing at @cap-js/postgres instead; cds-pg was archived in July 2023, and since cds8 @cap-js/postgres is what a new project gets by default.","from":"capability:database-connectors","since":"@sap/cds 8.0.3","recorded":"2026-09-09"}],"drafted_with_ai":true,"published_on":"source:sap-community","history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:database-connectors","reason":"Door scope derived from the artifacts this piece also explains, so a door page lists it only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"poor","evidence":"published 71 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"poor","evidence":"cds-pg 0.1.0, 0.1.0, 1.0, 2.0, 3.0 since publication"},{"label":"Findings","tier":"poor","evidence":"1 dead token"}],"reach":[{"value":33436,"unit":"views"},{"value":63,"unit":"comments"},{"value":44,"unit":"likes"}]},"signals":{"views":33436,"likes":44,"comments":63,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[{"ref":"actor:mike-zaschka","name":"Mike Zaschka","json":"/actors/mike-zaschka.json"}]}}