[Catalyst] create model

Chisel Wright chisel at herlpacker.co.uk
Fri Jan 30 23:23:04 GMT 2009


On Fri, Jan 30, 2009 at 01:40:40PM -0800, gdewitt wrote:
>     my $result = $c->model('Schema::Table')->find( 'x' );

Does this stop it from using _all_ unique constraints?

  my $result = $c->model('Schema::Table')->find(
  	'x',
	{ key => 'primary' }
  );

-- 
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/

  Stop pedanting. All nouns can be verbed.



More information about the Catalyst mailing list