Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
make genned table aliases more human-friendly #952
where the alias is an acronym of the table name. makes it easier to read large joins w/ many tables.
@coleifer unit tests not updated yet. i want to know if you're ok-with/opposed to this before i spend the time on that part.
For posterity, this is not a bad idea in that using the table's name to create the alias will make the SQL more easy to scan. It was for the following reasons I decided not to merge this:
Another misguided PR, not aligned with peewee's goals or aesthetic.