docs: add a Databases guide hub under Guides#3283
Open
bartlomieju wants to merge 2 commits into
Open
Conversation
The database content (SQLite, Postgres, MySQL, MongoDB, Redis, Deno KV, plus ORM tutorials) was well covered by examples and tutorials but had no single front door from the runtime sidebar. Add a thin Databases hub at /runtime/databases/ that frames Deno's options (npm drivers via Node compat, built-in node:sqlite, built-in Deno KV) and links out to the existing examples and tutorials rather than duplicating them. Wire it into the Guides group after HTTP Server.
Replace the thin link list with real content: explain that Deno ships node:sqlite and Deno KV built in, and that every other database works through the same npm driver you'd use in Node.js. Embed small runnable SQLite, Deno KV, and Postgres snippets directly on the page (SQLite and KV verified locally), each with its run command, then link out to the fuller examples and tutorials.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The database content was already well covered by examples and tutorials
(SQLite via the built-in
node:sqlite, Postgres, MySQL, MongoDB, Redis,DuckDB, Deno KV, plus Drizzle and Prisma tutorials), but there was no single
front door to it from the runtime sidebar.
This adds a thin Databases hub at
/runtime/databases/and wires it into theGuides group, after HTTP Server. The page frames Deno's three paths to a
database — npm drivers running under Node compatibility, the built-in
node:sqlite, and the built-in Deno KV — then links out to the existingexamples and tutorials rather than duplicating them, in keeping with the
guides-teach / examples-show split. Deno KV is listed with a short note that
it is unstable and a link to the existing KV docs.
It is intentionally a link hub, not a new long-form guide: the runnable depth
already lives in the examples and tutorials, and this just makes it
discoverable by task from the sidebar.