im trying to select ids from a table by filtering it with a list of values and then selecting only 1 row?
here's what i got so far and i receive null
after the second query:
if(index == 0){
const { data, error } = await supabase
.from("product_details_us")
.select(`id`);
priority = data.map(({id})=> id);
}
const { data, error } = await supabase
.from("products_us")
.select(`id, url`)
.not("id", "is", priority)
.range(index, index)