operator does not exist uuid = text
I'm trying to query a database using the following:
params.code is a uuid grabbed from the URL, but I run into the following issue. It seems to think it's a mismatch type? Anyone know why this is happening and how to fix it?
const { data: invite, error } = await supabase
.from('invites')
.select('*')
.eq('code', params.code)
.single()params.code is a uuid grabbed from the URL, but I run into the following issue. It seems to think it's a mismatch type? Anyone know why this is happening and how to fix it?
{
code: '42883',
details: null,
hint: 'No operator matches the given name and argument types. You might need to add explicit type casts.',
message: 'operator does not exist: uuid = text'
}