kysely-planetscale
kysely-d1
kysely-planetscale | kysely-d1 | |
---|---|---|
3 | 3 | |
352 | 189 | |
-0.3% | - | |
5.7 | 2.7 | |
3 months ago | 2 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kysely-planetscale
-
Kysely: a type-safe SQL query builder for TypeScript
And if you do decide to write your own integration here's the full source code of kysely-planetscale (about 160 LOC) https://github.com/depot/kysely-planetscale/blob/main/src/index.ts
- Allow Cloudflare D1 to be used like an O/R mapper with type-safe
-
Typesafe Database Queries on the Edge
It works in serverless and edge environments, even on Deno! It also has support for using the PlanetScale database driver using kysely-planetscale. This is perfect.
kysely-d1
- D1: We turned it up to 11
-
How much can you get out of a $4 VPS?
I looked at pocketbase and other tools, but decided to keep it simple.
Like GP, I'm also using D1 (https://developers.cloudflare.com/d1) which is based on SQLite and still in early Alpha. In combination with KV (https://developers.cloudflare.com/workers/learning/how-kv-wo...) it's trivial to have a great database layer with caching using kysely (https://github.com/aidenwallis/kysely-d1) and trpc (https://trpc.io) you can have typing from DB to front end.
-
Allow Cloudflare D1 to be used like an O/R mapper with type-safe
Now that the table and column types have been automatically generated, we need a way to use Kysely in D1. So now we will use Kysely-D1.
What are some alternatives?
kysely - A type-safe typescript SQL query builder
jekyll-feed - :memo: A Jekyll plugin to generate an Atom (RSS-like) feed of your Jekyll posts
kysely - A type-safe typescript SQL query builder [Moved to: https://github.com/kysely-org/kysely]
kysely-data-api
workers-remix-d1
kysely-codegen - Generate Kysely type definitions from your database.
durafetch-server - Download all Cloudflare durable object state to a local SQLite database.
arktype - TypeScript's 1:1 validator, optimized from editor to runtime
sqldef - Idempotent schema management for MySQL, PostgreSQL, and more
deno - A modern runtime for JavaScript and TypeScript.
Telegraf - The plugin-driven server agent for collecting & reporting metrics.