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
Sometimes when you want to include all of the columns of another table it can be useful to prefix them all as well with something. So that if I include a pets table the table may have the columns name,age and you may want to join it to a people table that also hase name,age and you want to end up with a result that is name,age,pet_name,pet_age or something like that.
Describe alternatives you've considered
Alternatively you have to reimplement the star macro by iterating all the columns and adding the prefix.
Are you interested in contributing this feature?
I created a patch of the star command, to work with my postgres db, so I would be willing to contribute it. I would need help knowing how to test it on multiple databases using the code base.
The text was updated successfully, but these errors were encountered:
Describe the feature
Sometimes when you want to include all of the columns of another table it can be useful to prefix them all as well with something. So that if I include a pets table the table may have the columns
name,age
and you may want to join it to a people table that also hasename,age
and you want to end up with a result that isname,age,pet_name,pet_age
or something like that.Describe alternatives you've considered
Alternatively you have to reimplement the star macro by iterating all the columns and adding the prefix.
Are you interested in contributing this feature?
I created a patch of the star command, to work with my postgres db, so I would be willing to contribute it. I would need help knowing how to test it on multiple databases using the code base.
The text was updated successfully, but these errors were encountered: