From 43ae255137189295cc3ed5246c6d29997a66c6b1 Mon Sep 17 00:00:00 2001 From: Abdul Manaaf Date: Thu, 12 Apr 2018 15:04:16 +0800 Subject: [PATCH] add more operators will fix #20 with eloquent style --- src/Query.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Query.php b/src/Query.php index d6cfd1c..296fdf3 100755 --- a/src/Query.php +++ b/src/Query.php @@ -19,6 +19,9 @@ class Query '<' => 'lessThan', '<=' => 'lessThanOrEqualTo', 'in' => 'containedIn', + '%%' => 'matches', + '%s' => 'startsWith', + 's%' => 'endsWith' ]; /**