my $foreign_ids_re = join '|', @foreign_ids;
if ( ref $cond eq 'HASH' ){
for my $f_key ( keys %{$cond} ) {
# might_have is not master
my $col = $cond->{$f_key};
$col =~ s/self\.//;
my $foreign_ids_re = join '|', @foreign_ids;
if ( ref $cond eq 'HASH' ){
for my $f_key ( keys %{$cond} ) {
# might_have is not master
my $col = $cond->{$f_key};
$col =~ s/self\.//;