Content pfp
Content
@
0 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Should Ponder replace SQLite with PGlite (pglite.dev) as the dev database? Pros: 1) Less magic/astonishment ("wait, what database am I using rn?") 2) Simpler schema definition API (currently stuck with the subset of stuff that both PG and SQLite support)
12 replies
4 recasts
42 reactions

max âš¡ pfp
max âš¡
@maxp.eth
what features under #2 are unlocked if the switch was made?
1 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
The big one is for Ponder to simply use Drizzle (drizzle-orm/pg-core) instead of the custom ponder.schema.ts table definitions and Store API. Big maintenance burden win for us, and there's a decent chance that new users already know Drizzle (vs a 0% chance they know our custom API 😉 ) Curious for your take!
1 reply
0 recast
1 reaction

max âš¡ pfp
max âš¡
@maxp.eth
we are heavy users of drizzle, so that would literally be a dream! as it stands i'm defining our db tables in three different schema apis (drizzle, powersync, and now ponder)
0 reply
0 recast
0 reaction