alxndr
03/13/2022, 6:40 PMinfo
with data like: { topic: "postgres" }
, I'd like for this row to be returned if the provided search value string contains "postgres"
but not if it includes "topic"
I was able to create a new column on the table that is a concatenation of other columns to run text search against that generated column (using the docs https://supabase.com/docs/guides/database/full-text-search#searchable-columns), but so far haven't been able to figure out the syntax to do this with a jsonb column for the values only, I get the whole stringified object in there, which is ok but not ideal as some of the keys are fairly generic and shouldn't match on a text search.
Thanks in advance!Aghilan
03/13/2022, 8:01 PMswiss
03/14/2022, 2:12 AMDeleted User
03/14/2022, 5:15 AMundefined is not an object (evaluation 'this.localStorage.getItem')
How to remove this issue?Kellen Mace
03/14/2022, 5:39 AM/api/stripe-webhooks
endpoint, then I make an update to my profiles
table using the data I receive.
Even though I have Realtime turned on for that table and my client-side app has subscribed to receive `UPDATE`s, no Realtime events are received. This is because I have row-level security (RLS) enabled for the profiles
table, and when my /api/stripe-webhooks
endpoint handler function is called, no user is authenticated, so the RLS checks fail.
How can I keep RLS activated to lock down access to my profiles
table, but still receive Realtime updates in my client-side app when the current user's row in the profiles
table gets updated?
More Details:
- I'm using username/password auth.
- The RLS policy on my profiles
table is uid() = id
for all CRUD operations.
- I'm using SvelteKit the supabase-js client the for the client-side app.
Thanks in advance for any help you can give! 🙌Deleted User
03/14/2022, 5:52 AM[Unhandled promise rejection: TypeError: undefined is not an object (evaluating '_supabase.supabase.auth')]
Kindly help me..tulusibrahim
03/14/2022, 6:33 AMxeon06
03/14/2022, 7:48 AM"no Route matched with those values"
CaptainDaylight
03/14/2022, 3:57 PMReferrer Policy: strict-origin-when-cross-origin
when they try to make a request locally?
Here's a link to more details on github https://github.com/supabase/supabase/discussions/5906cb
03/14/2022, 5:09 PMdavocado
03/14/2022, 5:57 PMselect s.id, s.status, u.id, u.firstname, u.lastname
from subscriptions as s
left join users as u on s.user_id = u.id
where u.firstname = 'John';
will only return subscriptions of users called 'John'.
but with:
supabaseClientCli
.from('subscriptions')
.select('id, status, user:users(id, firstname, lastname)')
.eq('user.firstname', 'John')
I get all subscriptions, with user: null
if user.firstname
isn't John...
help appreciated!zvictor
03/14/2022, 7:51 PMzvictor
03/14/2022, 7:51 PMAmusedGrape
03/14/2022, 8:57 PMrafindie
03/14/2022, 11:59 PMowonwo
03/15/2022, 1:46 AMshikhar
03/15/2022, 12:09 PMHo0ony
03/15/2022, 4:46 PMklufkin
03/16/2022, 2:51 AMhttp://supabase_kong_<project_dir_name>:8000
I am getting the following error when making a call with the supabase js client, net::ERR_NAME_NOT_RESOLVED
. What is the appropriate host name for the local dev supabase url ? Anyone have any ideas as to why I might be seeing this error? Note, I'm running all this on a mac.Kellen Mace
03/16/2022, 4:22 AMts
export async function post(event: RequestEvent): Promise<RequestHandlerOutput> {
console.log(event.request.url);
}
Example:
If the request is sent to http://localhost:3000/api/my-endpoint?test=abc123
, I want to access the value of test
, which would be abc123
.
Thanks for any help you can give!drilkmops
03/16/2022, 4:24 AMid,
slug,
params,
players:users(id, publicAddress, name)
Silen
03/16/2022, 6:44 AMelliott
03/16/2022, 8:30 AMpatcito
03/16/2022, 10:27 AMNinjaNuur
03/16/2022, 11:31 AMURL using bad or illegal format or missing URL
anyone know what it could be?d33pu
03/16/2022, 1:06 PMNeedle
03/16/2022, 2:22 PM/title
command!
We have solved your problem?
Click the button below to archive it.NinjaNuur
03/16/2022, 7:49 PMNeedle
03/16/2022, 9:19 PM/title
command!
We have solved your problem?
Click the button below to archive it.Voko2255
03/16/2022, 9:21 PM