in reply to Re: dbicdump selected tables
in thread dbicdump selected tables

Yes, it works, although I swear that I had that an hour ago and it didn't <sigh>

I finally passed through the argument that fixed the error {LongTruncOk => 1}, removed the extraneous quotes that I had introduced around the constraint and all of a sudden it works even better than I wanted it to an hour ago.

have you ever wanted to strangle a bit of code?

Thanks!

Edit

For completeness, here's the code fragment that works
my @args = ('-o', 'dump_directory='. $root .'/lib/', '-o', q/components=["InflateColumn::DateTime"]/, '-o', 'constraint=qr/'. $table_prefix .'/', 'Timetable::Schema', "dbi:Oracle:$database", $username, $password, '{ LongTruncOk => 1 }', ); system( '/usr/local/bin/dbicdump', @args );
which I'm re-writing to use DBIx::Class::Schema::Loader

Ea

Sometimes I can think of 6 impossible LDAP attributes before breakfast.

YAPC::Europe::2018 — Hmmm, need to talk to work about sending me there or to Mojoconf.