Working with Drizzle ORM in Edge Functions

  Рет қаралды 10,108

Supabase

Supabase

Күн бұрын

Пікірлер: 18
@Supabase
@Supabase Жыл бұрын
Learn how to use Supabase with Drizzle ORM: supabase.com/docs/guides/database/connecting-to-postgres#connecting-with-drizzle?utm%5C_term=edge-functions&
@scaffus
@scaffus Жыл бұрын
Man I love supabase and edging with Drizzle is the cherry on top
@Tanner-cz4bd
@Tanner-cz4bd 11 ай бұрын
That sounds rather inappropriate 😂
@scaffus
@scaffus 11 ай бұрын
@@Tanner-cz4bd 😅
@PeteStyla
@PeteStyla Жыл бұрын
You came at the right time. I am currently working on this setup and am thankful for the firsthand infos.
@arnabchatterjee2094
@arnabchatterjee2094 11 ай бұрын
how to reference to auth.users.id in drizzle??
@nikhilpsathyanathan
@nikhilpsathyanathan Жыл бұрын
I guess supabase doesn't have any edge runtime compactable postgress adapter like Neon or Planet scale To use with next.js
@Supabase
@Supabase Жыл бұрын
The Deno Edge Runtime supports TCP out of the box, so no adapter required here. For Vercel Edge Runtime, our Supavisor connection pooler is compatible with the @vercel/postgres package. You can find an example here: github.com/supabase-community/create-t3-turbo/blob/main/.env.example#L8
@nikhilpsathyanathan
@nikhilpsathyanathan Жыл бұрын
Thanks, I'll check it. I have tried the postgress package, and it has issues
@carlosricardoziegler2650
@carlosricardoziegler2650 Жыл бұрын
Nice content, some plan to support another’s js runtimes ? Bun / Node ?
@thorwebdev
@thorwebdev Жыл бұрын
You mean specifically the runtime of Supabase Edge Functions? We're watching Bun for sure, but no immediate plans. What are you missing in the Deno runtime?
@budivoogt491
@budivoogt491 Жыл бұрын
Would be great to see bun support added. It's become my preferred JS runtime env
@caseyspaulding
@caseyspaulding 6 ай бұрын
Does this still support RLS?
@RexGalilae
@RexGalilae 22 күн бұрын
1:10 "Edgy Drizzle" 😳😳😳
@yourpc
@yourpc Ай бұрын
Need to update instruction after deno released version 2.0
@alexe.2567
@alexe.2567 5 ай бұрын
That guide doesn't seem to be working anymore. I am getting this error when running the deployed edge function: Error: write CONNECT_TIMEOUT undefined:undefined at connectTimedOut (file:///tmp/sb-compile-edge-runtime/node_modules/localhost/postgres/3.4.3/src/connection.js:257:20) at Timeout.done [as _onTimeout] (file:///tmp/sb-compile-edge-runtime/node_modules/localhost/postgres/3.4.3/src/connection.js:1035:8) at cb (ext:deno_node/internal/timers.mjs:64:31) at callback (ext:deno_web/02_timers.js:58:22) at eventLoopTick (ext:core/01_core.js:203:13) { code: "CONNECT_TIMEOUT", errno: "CONNECT_TIMEOUT", address: undefined, port: undefined }
Learn Drizzle ORM in 13 mins (crash course)
14:00
Neon
Рет қаралды 33 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
How database migrations work when using Drizzle ORM
6:27
Web Dev Cody
Рет қаралды 10 М.
This Drizzle ORM feature is a game changer!
8:11
Marius Espejo
Рет қаралды 20 М.
Next.js, Drizzle ORM, PostgreSQL, and Vercel Tutorial
14:31
Full Stack Book
Рет қаралды 14 М.
Let's Build a Supabase + Drizzle-orm + Express backend
11:17
Raj talks tech
Рет қаралды 9 М.
Drizzle ORM in 100 Seconds
2:54
Fireship
Рет қаралды 484 М.
Rust & SQL Databases (With Diesel)
15:00
Code to the Moon
Рет қаралды 65 М.
Build your FIRST OpenAI Assistant With Function Calling
12:26
Make Stuff With AI
Рет қаралды 33 М.
3 new things you can do with SupaCharged Edge Functions
7:23
Supabase
Рет қаралды 4,5 М.
Это лютый угар 🤣 | приколы Арсен Симонян
0:14
Арсен Симонян
Рет қаралды 294 М.
НИКОГДА не иди на сделку с сестрой!
0:11
Даша Боровик
Рет қаралды 729 М.
пранк: псих сбежал из дурдома
0:53
Анна Зинкина
Рет қаралды 1,7 МЛН