lulato
11/17/2021, 7:44 PMforeignTable
property. I tried to pass the name of the table and the name column that makes the foreign-key relation, but none of those seem to work. Any advice will be appreciated const products = await supabase
.from("products_tagged")
.select("id, productID(*)")
.eq("tagID", 7)
.order("price", { foreignTable: "productID" });
Steve
11/18/2021, 5:24 PMproducts
instead of productID
js
await supabase
.from("products_tagged")
.select("id, products(*)")
.eq("tagID", 7)
.order("price", { foreignTable: "products" });