How to rename columns while querying in supabase. #29451
-
I need Supabase-js code equivalent to this SQL query SELECT
column_name1 AS custom_name1,
column_name2 AS custom_name2,
column_name3 AS custom_name3
FROM
table_name; |
Beta Was this translation helpful? Give feedback.
Answered by
GaryAustin1
Sep 23, 2024
Replies: 2 comments 3 replies
-
Aliases are supported. .select('columnCustomA:column_a') |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
hitesh-c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Aliases are supported. .select('columnCustomA:column_a')