Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

missing code fix (#28223)

Maysam Torabie8c3b92c2a60
diff --git a/apps/docs/content/guides/getting-started/tutorials/with-kotlin.mdx b/apps/docs/content/guides/getting-started/tutorials/with-kotlin.mdx
index 67c8e8ee465..8a659320906 100644
--- a/apps/docs/content/guides/getting-started/tutorials/with-kotlin.mdx
+++ b/apps/docs/content/guides/getting-started/tutorials/with-kotlin.mdx
@@ -303,14 +303,18 @@ class ProductRepositoryImpl @Inject constructor(
set("price", price)
set("image", buildImageUrl(imageFileName = imageUrl))
}) {
- eq("id", id)
+ filter {
+ eq("id", id)
+ }
}
} else {
postgrest.from("products").update({
set("name", name)
set("price", price)
}) {
- eq("id", id)
+ filter {
+ eq("id", id)
+ }
}
}
}