From: Justin Hunter Date: Sun, 27 Sep 2009 16:13:01 +0000 (-0700) Subject: add backcompat get_field method X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=857ab1c2fe0f14539cc17291384da15abee0be54;p=dbsrgits%2FSQL-Translator-2.0-ish.git add backcompat get_field method --- diff --git a/lib/SQL/Translator/Object/Table.pm b/lib/SQL/Translator/Object/Table.pm index 462dc85..918cd14 100644 --- a/lib/SQL/Translator/Object/Table.pm +++ b/lib/SQL/Translator/Object/Table.pm @@ -31,6 +31,7 @@ class SQL::Translator::Object::Table extends SQL::Translator::Object is dirty { ## compat get_fields => 'values', + get_field => 'get', fields => 'keys', }, default => sub { my %hash = (); tie %hash, 'Tie::IxHash'; return \%hash },