NAME

FormValidator::Simple::Plugin::DBIC::Schema::Unique - unique check for DBIC::Schema

SYNOPSIS

use FormValidator::Simple qw/DBIC::Schema::Unique/;

# check single column
FormValidator::Simple->check( $q => [
    name => [ [qw/DBIC_SCHEMA_UNIQUE name/, $schema->result_set('User')] ],
] );

DESCRIPTION

This module is a plugin for FormValidator::Simple. This provides you a validation for unique check with DBIC table class.

SEE ALSO

FormValidator::Simple

BUGS AND LIMITATIONS

No bugs have been reported.

AUTHOR

Atsushi Kobayashi <atsushi __at__ mobilefactory.jp>

LICENCE AND COPYRIGHT

Copyright (c) 2007, Atsushi Kobayashi <atsushi __at__ mobilefactory.jp>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.