-
|
Is there a way in Slick to force an alias for a selected field. And it generates: Which is excellent (all I'm caring about is the generated SQL, I'm not executing it using JDBC). The only thing is that I'd like to provide my own alias for the SQL as such: I couldn't find a way to do it. Is this possible? Is there any pointer I've missed? Thank you. Note: I understand that my use case might be unusual, since I only care about the SQL statement as a String, and not executing it against a driver. So most users shouldn't worry about aliasing the fields they selected. But just in case you might have give me a hint on how to workaround that (writing and managing my own extension method totally would work for me for instance) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
I don't think so. Contributions welcome ;) |
Beta Was this translation helpful? Give feedback.
-
|
I don't know the answer.
That said we could try to set up a time some time to try to hack on it together
…On Thu Nov 9, 2023, 07:06 AM GMT, Arnaud Esteve ***@***.***> wrote:
Thank you.
I'd be more than happy to contribute but as I mentioned I'm lost on what I should do, what I should change, where I even should start from?
What approach would you recommend? Any pointer? What should I look at? Rep[T]? Node?
—
Reply to this email directly, view it on GitHub <#2853 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAYAUHOF7BI7JA3LTWBLA3YDR6GPAVCNFSM6AAAAAA7B7GT4GVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKMJYHA4DA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
I don't think so. Contributions welcome ;)