hello, is there any documentations on setting up L...
# help
e
hello, is there any documentations on setting up LTREE with supabase?
t
Hi. Firstly most of us are on all the channels so no need to cross post.
I assume you are talking about the built in postgres module
e
Sorry for that! I am new to Discord as well as supabase.
I am trying to create nodes table and I thought I'll use LTREE extension for better performance.
After doing some research, if I add a column "node_path" as ltree data type, I can then do a query for node_path 001.001.002*
can you help me with this or suggest an alternative way?
and yes, I am talking about the built in postgres module/extension
t
you will be able to create a plpgsql function and achieve what you need.
I should call them rpc functions. See https://supabase.com/docs/guides/database/functions
e
perfect, thank you. I will take a look at this