Subject: | Can't join against a table alias |
my $t_foo = $schema->table( 'foo' );
my $t_bar = $schema->table( 'bar' )->alias;
$select->from( $foo, 'left', $bar );
# Exception: from() was called with invalid arguments
_check_outer_join_arguments complains because
not($_[2]->isa('Fey::Table')). This makes it impossible to join twice
against the same table from two different FKs, receiving two distinct
sets of result set columns each from the same source table.