Simplify complex SQL queries with Views in Postgres

  Рет қаралды 9,926

Supabase

Supabase

Күн бұрын

Пікірлер: 31
@remi-avec-un-i
@remi-avec-un-i 8 ай бұрын
Views are something I already heard of but never saw in action, thanks J
@JonMeyers
@JonMeyers 8 ай бұрын
Yeah, they are very handy for something so simple to create! Glad you enjoyed the video! 🙌
@canergurelsoy6875
@canergurelsoy6875 8 ай бұрын
I'm just loving supabase more and more everyday . Nice job, pls keep bringing it.
@parkerrex
@parkerrex 8 ай бұрын
the videos help a lot
@JonMeyers
@JonMeyers 8 ай бұрын
Glad you enjoyed it! What are you going to build?
@JonMeyers
@JonMeyers 8 ай бұрын
@@parkerrexthanks! 🙌 What would you like to see a video on next?
@dshukertjr
@dshukertjr 8 ай бұрын
I didn't know that `returns()` function on the `select()` call existed! That's very handy!
@JonMeyers
@JonMeyers 8 ай бұрын
Yeah, I only learnt about it while putting this video together! Very handy!
@mrrolandlawrence
@mrrolandlawrence 4 ай бұрын
Views are so under rated. So glad that feature is getting some love.
@TheSlyProfessor
@TheSlyProfessor 3 ай бұрын
I've been watching a lot of your videos and things are clicking. Thank you so much!
@Speechrezz
@Speechrezz 8 ай бұрын
Really helpful video, thank you! I've started using views in my own Supabase project now and it really simplified my queries!
@loucasi
@loucasi 4 ай бұрын
Supabase videos in general are very helpful and the content is great , I really think it's time to start making these with an AI on the side bcs at this level of coding I think everyone would be better off learning the prompts we have to send in order to get the code. Tutorials should focus on: this is how you prime the model to be ready for a "Views + RLS on Supabase" conversation and that's how you prompt for each case. Instead of losing time to actually record themselves writing the code it would be much more SCALABLE advice to figure out where the AI model is prone for a mistake and the tutorial showing what to look for or how to avoid it all together. Thoughts? Here they do it already a bit with the in-house supabase AI but I tried it and it does make mistakes - which I used Claude 3.5 to fix!
@VincentFulco
@VincentFulco 8 ай бұрын
Thanks for this example!
@JonMeyers
@JonMeyers 8 ай бұрын
Glad you enjoyed it! Thanks for watching 🙌
@0xtz_
@0xtz_ 3 ай бұрын
we have views in our app but after adding ton and ton of data the pagination takes like 40 s but the raw query takes only 150ms 😢 so we switched to raw SQL in some places with zod for types
@caseyspaulding
@caseyspaulding 4 ай бұрын
This is supa helpful. Thanks.
@brotherly9058
@brotherly9058 2 ай бұрын
Compared to with-clause, which one is better practice?
@tonyoconnell99
@tonyoconnell99 8 ай бұрын
I really love this tutorial. i learned so much both yourself and lee. i'm going to use it to replace charbot ui 's frontend (but not their supabase backend) so my users can have conversations with different ai models faster. i would really appreciate a link to a github repo of the code you wrote for supabase. i couldn't find your repo anywhere. if needed i will type the code code from the tuturial and still be happy.
@Kkvta
@Kkvta 8 ай бұрын
As somebody here in the comments mentioned, please do a video on encrypting data! Can't seem to figure out how to do it with next / supabase for my db.
@slavenDj
@slavenDj 8 ай бұрын
Great videos! Is there going to be a video about encryption. Example i have not read anywhere that when i add security label via sql editor to a column it automatically creates trigger and views for decryption
@rohan7011
@rohan7011 8 ай бұрын
Where is the original video link?
@JonMeyers
@JonMeyers 8 ай бұрын
You mean for Lee’s version? Will add it to the description! Thanks for the reminder!
@tonyoconnell99
@tonyoconnell99 8 ай бұрын
@@JonMeyers Here's another reminder. I can't wait to use it. It's such a wonderful example of what Supabase can do. The code and design of the email client's is beautifully simple, and your database is simple and succint. There is nothing faster. Thanks for making this and for teaching me how to do it.
@imho7992
@imho7992 6 ай бұрын
Can views also transform POSTGIS geography coordinates back to lat / lng integers?
@BlazeShomida
@BlazeShomida 7 ай бұрын
Is it better to create a client for each function call over exporting a global constant of the client instance? Like `export const supabase = createClient(SUPABASE_URL, SUPABASE_ANON_KEY);`
@nafg613
@nafg613 3 ай бұрын
Would be nice if Supabase let you edit views
@hawarhekmat1174
@hawarhekmat1174 8 ай бұрын
Sign in with Google using server action with a client button won't work, when I log the data it gives back a url but in browser won't redirect to Google sign in page but in vscode console when I click on the url it does, maybe it's because of new Google sign in thing.
@twisterrjl
@twisterrjl 8 ай бұрын
Have you also changed the link in supa > auth > url configuration? I sometimes forget to do that
@Laflamablanca969
@Laflamablanca969 8 ай бұрын
You are very enthusiastic… way too enthusiastic lol. Chill bruz
@rtorcato
@rtorcato 8 ай бұрын
drizzle has support for views and coming soon foreign table support too, which is great for migrations.. Does Supabase use drizzle?
3 reasons you should use Postgres Functions and Transactions
16:58
Postgres scales … when you do this!
9:59
Supabase
Рет қаралды 5 М.
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 222 МЛН
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 6 МЛН
Firebase has SQL: Introducing Data Connect
16:29
Firebase
Рет қаралды 66 М.
Make your queries 43,240x faster
13:16
Supabase
Рет қаралды 26 М.
Become a Materialized View SUPER HERO !
7:05
SQL and Database explained!
Рет қаралды 10 М.
DONT USE AN ORM | Prime Reacts
25:46
ThePrimeTime
Рет қаралды 238 М.
8 things you should NEVER do in a Database!
22:56
Supabase
Рет қаралды 12 М.
The New Option and Result Types of C#
15:05
Nick Chapsas
Рет қаралды 79 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 215 М.
Everything you NEED TO KNOW about Relationships
13:53
Supabase
Рет қаралды 3,6 М.
Using PostgreSQL triggers to automate processes with Supabase
10:47