Last active
March 10, 2023 16:08
-
-
Save selbyk/3a5cf79909cb6b1904a6c13a63c473bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// type Test = ReturnType<supabaseClient.from('a_table').select('*, a_foreign_row:a_foreign_table!a_foreign_row_id (*)')>; | |
type Test = GetResult< | |
Database['public'], | |
Database['public']['Tables']['a_table']['Row'], | |
'*, a_foreign_row:a_foreign_table!a_foreign_row_id (*)' | |
>; | |
type F = Test['a_foreign_row']; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment