The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Docs: Improve chip text in Dart and Kotlin examples (#35740)
Hieu Vu60d9202bdd73
diff --git a/apps/docs/spec/supabase_dart_v2.yml b/apps/docs/spec/supabase_dart_v2.ymlindex 1b45f350ba7..0c152159c6b 100644--- a/apps/docs/spec/supabase_dart_v2.yml+++ b/apps/docs/spec/supabase_dart_v2.yml@@ -4570,7 +4570,7 @@ functions:description: Specify the referenced table when ordering by a column in an embedded resource.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```dart@@ -4731,7 +4731,7 @@ functions:description: Set this to limit rows of referenced tables instead of the parent table.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```dart@@ -4829,7 +4829,7 @@ functions:description: Set this to limit rows of referenced tables instead of the parent table.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```dart@@ -4868,7 +4868,7 @@ functions:Retrieves only one row from the result. Result must be one row (e.g. using limit), otherwise this will result in an error.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```dart@@ -5237,7 +5237,7 @@ functions:```examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```dart@@ -5381,7 +5381,7 @@ functions:description: The value to filter with, following PostgREST syntax.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: falsecode: |```dart@@ -5412,7 +5412,7 @@ functions:]```- id: with-update- name: With `update()`+ name: With update()code: |```dartfinal data = await supabase@@ -5421,7 +5421,7 @@ functions:.not('name', 'eq', 'Rohan');```- id: with-delete- name: With `delete()`+ name: With delete()code: |```dartfinal data = await supabase@@ -5430,7 +5430,7 @@ functions:.not('name', 'eq', 'Mordor');```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```dart// Only valid if the Stored Procedure returns a table type.@@ -5450,7 +5450,7 @@ functions:description: The object to filter with, with column names as keys mapped to their filter valuesexamples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -5497,7 +5497,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -5545,7 +5545,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -5597,7 +5597,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -5645,7 +5645,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -5697,7 +5697,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -5745,7 +5745,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -5797,7 +5797,7 @@ functions:description: The pattern to match with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -5845,7 +5845,7 @@ functions:description: The pattern to match with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -5946,7 +5946,7 @@ functions:description: The List to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -6253,7 +6253,7 @@ functions:description: The range to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -6310,7 +6310,7 @@ functions:description: The range to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -6367,7 +6367,7 @@ functions:description: The range to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -6424,7 +6424,7 @@ functions:description: The range to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -6481,7 +6481,7 @@ functions:description: The range to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```dartfinal data = await supabase@@ -6747,7 +6747,7 @@ functions:```examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```dart@@ -6779,7 +6779,7 @@ functions:]```- id: with-update- name: With `update()`+ name: With update()code: |```dartfinal data = await supabase@@ -6788,7 +6788,7 @@ functions:.filter('name', 'in', '("harpsichord","clavichord")');```- id: with-delete- name: With `delete()`+ name: With delete()code: |```dartfinal data = await supabase@@ -6797,7 +6797,7 @@ functions:.filter('name', 'in', '("Rohan","Mordor")');```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```dart// Only valid if the Stored Procedure returns a table type.diff --git a/apps/docs/spec/supabase_kt_v2.yml b/apps/docs/spec/supabase_kt_v2.ymlindex e165f308df0..1f3efc262e1 100644--- a/apps/docs/spec/supabase_kt_v2.yml+++ b/apps/docs/spec/supabase_kt_v2.yml@@ -900,7 +900,7 @@ functions:description: The block to apply the `or` filter to.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -954,7 +954,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -980,7 +980,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -993,7 +993,7 @@ functions:}```- id: with-update- name: With `update()`+ name: With update()code: |```kotlinval toUpdate = City(name = "Mordor")@@ -1006,7 +1006,7 @@ functions:}```- id: with-delete- name: With `delete()`+ name: With delete()code: |```kotlinsupabase.from("cities").delete {@@ -1018,7 +1018,7 @@ functions:}```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```kotlinsupabase.postgrest.rpc("function") {@@ -1045,7 +1045,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1058,7 +1058,7 @@ functions:}```- id: with-update- name: With `update()`+ name: With update()code: |```kotlinval toUpdate = City(name = "Mordor")@@ -1071,7 +1071,7 @@ functions:}```- id: with-delete- name: With `delete()`+ name: With delete()code: |```kotlinsupabase.from("cities").delete {@@ -1083,7 +1083,7 @@ functions:}```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```kotlinsupabase.rpc("echo_all_cities") {@@ -1108,7 +1108,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1121,7 +1121,7 @@ functions:}```- id: with-update- name: With `update()`+ name: With update()code: |```kotlinval toUpdate = City(name = "Mordor")@@ -1134,7 +1134,7 @@ functions:}```- id: with-delete- name: With `delete()`+ name: With delete()code: |```kotlinsupabase.from("cities").delete {@@ -1146,7 +1146,7 @@ functions:}```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```kotlinsupabase.postgrest.rpc("echo_all_cities") {@@ -1173,7 +1173,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1186,7 +1186,7 @@ functions:}```- id: with-update- name: With `update()`+ name: With update()code: |```kotlinval toUpdate = City(name = "Mordor")@@ -1199,7 +1199,7 @@ functions:}```- id: with-delete- name: With `delete()`+ name: With delete()code: |```kotlinsupabase.from("cities").delete {@@ -1211,7 +1211,7 @@ functions:}```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```kotlinsupabase.postgrest.rpc("echo_all_cities") {@@ -1238,7 +1238,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1251,7 +1251,7 @@ functions:}```- id: with-update- name: With `update()`+ name: With update()code: |```kotlinval toUpdate = City(name = "Mordor")@@ -1264,7 +1264,7 @@ functions:}```- id: with-delete- name: With `delete()`+ name: With delete()code: |```kotlinsupabase.from("cities").delete {@@ -1276,7 +1276,7 @@ functions:}```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```kotlinsupabase.postgrest.rpc("echo_all_cities") {@@ -1303,7 +1303,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1316,7 +1316,7 @@ functions:}```- id: with-update- name: With `update()`+ name: With update()code: |```kotlinval toUpdate = City(name = "Mordor")@@ -1329,7 +1329,7 @@ functions:}```- id: with-delete- name: With `delete()`+ name: With delete()code: |```kotlinsupabase.from("cities").delete {@@ -1341,7 +1341,7 @@ functions:}```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```kotlinsupabase.postgrest.rpc("echo_all_cities") {@@ -1368,7 +1368,7 @@ functions:description: The pattern to match with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1381,7 +1381,7 @@ functions:}```- id: with-update- name: With `update()`+ name: With update()code: |```kotlinval toUpdate = City(name = "Mordor")@@ -1394,7 +1394,7 @@ functions:}```- id: with-delete- name: With `delete()`+ name: With delete()code: |```kotlinsupabase.from("cities").delete {@@ -1406,7 +1406,7 @@ functions:}```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```kotlinsupabase.postgrest.rpc("echo_all_cities") {@@ -1433,7 +1433,7 @@ functions:description: The pattern to match with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1446,7 +1446,7 @@ functions:}```- id: with-update- name: With `update()`+ name: With update()code: |```kotlinval toUpdate = City(name = "Mordor")@@ -1459,7 +1459,7 @@ functions:}```- id: with-delete- name: With `delete()`+ name: With delete()code: |```kotlinsupabase.from("cities").delete {@@ -1471,7 +1471,7 @@ functions:}```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```kotlinsupabase.postgrest.rpc("echo_all_cities") {@@ -1500,7 +1500,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1513,7 +1513,7 @@ functions:}```- id: with-update- name: With `update()`+ name: With update()code: |```kotlinval toUpdate = City(name = "Mordor")@@ -1526,7 +1526,7 @@ functions:}```- id: with-delete- name: With `delete()`+ name: With delete()code: |```kotlinsupabase.from("cities").delete {@@ -1538,7 +1538,7 @@ functions:}```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```kotlinsupabase.postgrest.rpc("echo_all_cities") {@@ -1565,7 +1565,7 @@ functions:description: The values to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1578,7 +1578,7 @@ functions:}```- id: with-update- name: With `update()`+ name: With update()code: |```kotlinval toUpdate = City(name = "Mordor")@@ -1591,7 +1591,7 @@ functions:}```- id: with-delete- name: With `delete()`+ name: With delete()code: |```kotlinsupabase.from("cities").delete {@@ -1603,7 +1603,7 @@ functions:}```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```kotlinsupabase.postgrest.rpc("echo_all_cities") {@@ -1630,7 +1630,7 @@ functions:description: The jsonb, array, or range value to filter withexamples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1643,7 +1643,7 @@ functions:}```- id: with-update- name: With `update()`+ name: With update()code: |```kotlinval toUpdate = City(name = "Mordor")@@ -1656,7 +1656,7 @@ functions:}```- id: with-delete- name: With `delete()`+ name: With delete()code: |```kotlinsupabase.from("cities").delete {@@ -1668,7 +1668,7 @@ functions:}```- id: with-rpc- name: With `rpc()`+ name: With rpc()code: |```kotlinsupabase.postgrest.rpc("echo_all_cities") {@@ -1695,7 +1695,7 @@ functions:description: The values to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1759,7 +1759,7 @@ functions:description: The values to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1823,7 +1823,7 @@ functions:description: The values to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1888,7 +1888,7 @@ functions:$ref: '@supabase/postgrest-js.PostgrestFilterBuilder.rangeLte'examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -1952,7 +1952,7 @@ functions:description: The values to filter with.examples:- id: with-select- name: With `select()`+ name: With select()isSpotlight: truecode: |```kotlin@@ -2213,7 +2213,7 @@ functions:description: The value to filter with.examples:- id: with-select- name: With `select()`+ name: With select()code: |```kotlinsupabase.from("characters").select {@@ -2330,7 +2330,7 @@ functions:description: The columns to select.examples:- id: with-upsert- name: With `upsert()`+ name: With upsert()code: |```kotlinval toUpsert = Character(id = 2, name = "Leia")@@ -2388,7 +2388,7 @@ functions:description: The foreign table to order by.examples:- id: with-select- name: With `select()`+ name: With select()code: |```kotlinsupabase.from("characters").select(columns = Columns.list("id", "name")) {@@ -2515,7 +2515,7 @@ functions:description: The foreign table to limit by.examples:- id: with-select- name: With `select()`+ name: With select()code: |```kotlinsupabase.from("countries").select {@@ -2624,7 +2624,7 @@ functions:description: The foreign table to limit by.examples:- id: with-select- name: With `select()`+ name: With select()code: |```kotlinsupabase.from("characters").select {@@ -2666,7 +2666,7 @@ functions:$ref: '@supabase/postgrest-js.PostgrestTransformBuilder.single'examples:- id: with-select- name: With `select()`+ name: With select()code: |```kotlinval result = supabase.from("characters").select(Columns.list("name")) {