Revision history for DBIx::Class
+ - supress warnings for possibly non-unique queries, since
+ _is_unique_query doesn't infer properly in all cases
- skip empty queries to eliminate spurious warnings on ->deploy
- fixups to ORDER BY, tweaks to deepen some copies in ResultSet
- fixup for RowNum limit syntax with functions
}
}
- unless ($self->_is_unique_query($attrs->{where})) {
- carp "Query not guaranteed to return a single row"
- . "; please declare your unique constraints or use search instead";
- }
+# XXX: Disabled since it doesn't infer uniqueness in all cases
+# unless ($self->_is_unique_query($attrs->{where})) {
+# carp "Query not guaranteed to return a single row"
+# . "; please declare your unique constraints or use search instead";
+# }
my @data = $self->result_source->storage->select_single(
$attrs->{from}, $attrs->{select},