summaryrefslogtreecommitdiff
path: root/lib/Multi/API.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Multi/API.pm')
-rw-r--r--lib/Multi/API.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Multi/API.pm b/lib/Multi/API.pm
index e43f42f3..566b8ada 100644
--- a/lib/Multi/API.pm
+++ b/lib/Multi/API.pm
@@ -848,6 +848,11 @@ my %GET_USER = (
[ 'int' => 'u.id :op: :value:', {qw|= =|}, range => [0,1e6], process => \&subst_user_id ],
[ inta => 'u.id IN(:value:)', {'=',1}, range => [0,1e6], join => ',', process => \&subst_user_id ],
],
+ username => [
+ [ str => 'u.username :op: :value:', {qw|= = != <>|} ],
+ [ str => 'u.username ILIKE :value:', {'~',1}, process => \'like' ],
+ [ stra => 'u.username IN(:value:)', {'=',1}, join => ',' ],
+ ],
},
);