Alias a table in Knex
I think I figured it out. In knex.js, say you specify a table like: knex.select( ‘*’ ).from( ‘Users’ ) Then you can just add the AS keyword within the quotes of the table name to alias it, like so: knex.select( ‘*’ ).from( ‘Users AS u’ ) ..and you can do this for column names, too; … Read more