You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working with this for a couple of weeks, trying to determine if it will work for my project. I'm running into the following problem.
I am building up a ResultSet using joins, and from different databases, I have columns with the same name (called name). For example I have a
->select("subj.name","ch.name","me.name")
and the result (from all or single) gives a hashref with only name in there, not subj.name, ch.name, me.name (which I think should be able to have another named reference).
I would love to have a way to rename columns. For example:
->select({column => "subj.name", name => "subject_name"})
->select({column => "ch.name", name => "chapter_name"})
->select({column => "me.name", name => "section_name"})
I would be willing to branch and try this. I was wondering if you are still maintaining this at all though.
The text was updated successfully, but these errors were encountered:
I've been working with this for a couple of weeks, trying to determine if it will work for my project. I'm running into the following problem.
I am building up a ResultSet using joins, and from different databases, I have columns with the same name (called
name
). For example I have aand the result (from all or single) gives a hashref with only
name
in there, notsubj.name
,ch.name
,me.name
(which I think should be able to have another named reference).I would love to have a way to rename columns. For example:
I would be willing to branch and try this. I was wondering if you are still maintaining this at all though.
The text was updated successfully, but these errors were encountered: