Add inner join example to reference docs #16846
Replies: 8 comments
-
I'd like to work on it. |
Beta Was this translation helpful? Give feedback.
-
@tarunsamanta2k20 that'd be great! |
Beta Was this translation helpful? Give feedback.
-
How do I run the query after preparing to test if it works? |
Beta Was this translation helpful? Give feedback.
-
Also if you have any references for writing language specific query then please mention the link over here. |
Beta Was this translation helpful? Give feedback.
-
Hey @tarunsamanta2k20, feel free to follow our guide on creating API routes and querying them (specifically under "REST API"): This should help you get started for JavaScript, but the same logic will apply to other languages. Also each language includes install instructions: |
Beta Was this translation helpful? Give feedback.
-
I would like to know if this issue has been solved. If not, may I work on it? |
Beta Was this translation helpful? Give feedback.
-
This issue is still open! |
Beta Was this translation helpful? Give feedback.
-
I encountered a similar issue (in JS) when trying to filter via a foreign table, the docs mentioned something about using Also, it seems like @danielbolivar's PR #15438 is still open? |
Beta Was this translation helpful? Give feedback.
-
Improve documentation
Link
Each of these client lib reference docs:
Describe the improvement
These should include an example on how to do
inner
joins as the Dart and C# docs do:https://supabase.com/docs/reference/dart/select
![image](https://private-user-images.githubusercontent.com/4133076/245879745-ef614639-e111-49de-a386-4d6c70cb8a4f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MjQ3ODIsIm5iZiI6MTczOTQyNDQ4MiwicGF0aCI6Ii80MTMzMDc2LzI0NTg3OTc0NS1lZjYxNDYzOS1lMTExLTQ5ZGUtYTM4Ni00ZDZjNzBjYjhhNGYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTNUMDUyODAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWIxZmZhYzA3ZTRkMTY3YjhkZWNmN2ExYTc0OGVkMGViZWViN2MwM2EyNTE3ZmYyMzRmNzI3N2M1ZjVlMjMyMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.cUdJxpUobDh4GVnRUT6pmc75RtdAG_4B3z7a7UvoIIY)
https://supabase.com/docs/reference/csharp/select
![image](https://private-user-images.githubusercontent.com/4133076/245880035-aa8533cf-93de-4fc7-a6ba-2dbf8ce2ccc3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MjQ3ODIsIm5iZiI6MTczOTQyNDQ4MiwicGF0aCI6Ii80MTMzMDc2LzI0NTg4MDAzNS1hYTg1MzNjZi05M2RlLTRmYzctYTZiYS0yZGJmOGNlMmNjYzMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTNUMDUyODAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmEwNzYxNmJiZmVjNDI3MmQyMTkxZmM0NWZmZjNjOGUxOTQzYmFjZjlhZDAyMDVmZDM2NTM0ZjdjZTBjMTI3ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.XsVRvk-IjhegUrqQELVvjlc_e6PY16NAZ3ZnhicdQ8U)
Additional context
Examples are defined under each
./spec/supabase_<lang>_<version>.yml
file. Eg. JavaScript:supabase/spec/supabase_js_v2.yml
Line 1129 in 843d4e0
Let's also change the "Filtering through foreign tables" examples to use
inner
.Beta Was this translation helpful? Give feedback.
All reactions