This series is sponsored by cloudinary, definitely go check them out, their new Svelte SDK is fantastic and the beautiful performant images on Sediment would not have happened without them! cld.media/bendavis
Since we're not using traditional migrations, we can easily just rollback the branch and change the schema that way which is really nice. No migrations directory needed
Good video Ben, loved the svletekit + drizzle + planetscale combination. Some questions: - Do you find any good use for API routes? - Have you tried Tanstack Query with sveltekit?
Yea I actually use api routes for a lot of my auth stuff, if you look at how I do sign in with github I redirect the user to a get request route and then run the flow from there I also use them for stripe webhooks I have not tried tanstack query for sveltekit, so far my use cases have been simple enough that I have not needed it, but that may change we will see...
This series is sponsored by cloudinary, definitely go check them out, their new Svelte SDK is fantastic and the beautiful performant images on Sediment would not have happened without them!
cld.media/bendavis
Hi ben , your videos are really helpful , you are beautiful with great knowledge thank you a lot
great vid Ben. re migrations and the branching model... how do "rollbacks" work? does PS generate the migration?
Since we're not using traditional migrations, we can easily just rollback the branch and change the schema that way which is really nice. No migrations directory needed
Good video Ben, loved the svletekit + drizzle + planetscale combination.
Some questions:
- Do you find any good use for API routes?
- Have you tried Tanstack Query with sveltekit?
Yea I actually use api routes for a lot of my auth stuff, if you look at how I do sign in with github I redirect the user to a get request route and then run the flow from there I also use them for stripe webhooks
I have not tried tanstack query for sveltekit, so far my use cases have been simple enough that I have not needed it, but that may change we will see...
0:53 not being a grammar nazi but "Migrations"
Lmao, me not being able to spell at a third grade level is kinda just a feature of the channel
Awesome video. Thanks for the content 💪🏼
is it ok to get the figma design so we can practice too 😅
Great vid
Think you should get a stronger pop filter, the plosives are pretty harsh
😅
Yea I noticed that too, I need to figure that out in post
I had the foreign key issue with planet scale. But they now support foreign key constraints.
Nice touch with the styling defaults for your product meta data 👌
Wow! great vid as always
Can you help me to create dynamic queries in drizzle so that I use abstraction
like a function with params that wraps drizzle? like getUsers(count, skip, order) => users? That should be pretty ez