Skip to content

Commit

Permalink
Merge branch 'release/v1.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGilder committed Nov 27, 2023
2 parents 0a4500e + efa5177 commit 3c286c4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Operators.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use Oilstone\RsqlParser\Operators\LessThan;
use Oilstone\RsqlParser\Operators\LessThanOrEqualTo;
use Oilstone\RsqlParser\Operators\Like;
use Oilstone\RsqlParser\Operators\NotLike;
use Oilstone\RsqlParser\Operators\NotEqualTo;
use Oilstone\RsqlParser\Operators\NotIn;
use Oilstone\RsqlParser\Operators\Operator;
Expand All @@ -37,6 +38,7 @@ class Operators
LessThan::class,
LessThanOrEqualTo::class,
Like::class,
NotLike::class,
NotEqualTo::class,
NotIn::class,
];
Expand Down
20 changes: 20 additions & 0 deletions src/Operators/NotLike.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

namespace Oilstone\RsqlParser\Operators;

/**
* Class NotLike
* @package Oilstone\RsqlParser\Operators
*/
class NotLike extends Operator
{
/**
* @var string
*/
protected $uri = '=not-like=';

/**
* @var string
*/
protected $sql = 'NOT LIKE';
}

0 comments on commit 3c286c4

Please sign in to comment.