X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README;h=6473e7efecae9ac83070b12b71481abf205b120e;hb=HEAD;hp=f81b64f0911d89853310f086904ddf6ad669446f;hpb=278f527b56b15a81b102fa045d48dccf50a00869;p=dbsrgits%2FDBIx-Class-ResultSet-HashRef.git diff --git a/README b/README index f81b64f..6473e7e 100644 --- a/README +++ b/README @@ -50,9 +50,21 @@ METHODS my $first_row = $schema->resultset('User')->search( { } )->hashref_first; print Dumper $first_row + hashref_pk( ) + Calls hashref_array and returns a reference to a hash containing the + primary key. For each key the corresponding value is a reference to a + hash of the resultset inflated by + DBIx::Class::ResultClass::HashRefInflator. + + my $hashref_pk = $schema->resultset('User')->search( { } )->hashref_pk; + print Dumper $hashref_pk + AUTHOR Johannes Plunien +CONTRIBUTORS + Robert Bohne + COPYRIGHT AND LICENSE Copyright 2008 by Johannes Plunien