projects
/
dbsrgits/SQL-Abstract-2.0-ish.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Port more of the back-compat tests
[dbsrgits/SQL-Abstract-2.0-ish.git]
/
lib
/
SQL
/
Abstract
/
Types
/
Compat.pm
diff --git
a/lib/SQL/Abstract/Types/Compat.pm
b/lib/SQL/Abstract/Types/Compat.pm
index
36dd455
..
fff3859
100644
(file)
--- a/
lib/SQL/Abstract/Types/Compat.pm
+++ b/
lib/SQL/Abstract/Types/Compat.pm
@@
-10,5
+10,7
@@
class SQL::Abstract::Types::Compat {
enum LogicEnum, qw(OR AND);
+ coerce LogicEnum, from Str, via { uc $_ };
+
subtype WhereType, as Str|ArrayRef|HashRef|ScalarRef;
}