Replies: 1 comment
-
This would be SO useful to have!! Can we have this implemented as a feature request? The only way I found so far is to use await db.query.users.findMany({
extras: {
userName: sql`${users.name})`.as('userName'),
},
}) While the name in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is it possible to rename the fields in a query?
Regards
Pascal
Beta Was this translation helpful? Give feedback.
All reactions