Skip to content

Commit

Permalink
Styling
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Oct 20, 2016
1 parent e0b04e4 commit 714bc0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/devapi/dbiterator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ Using the ``OR``, ``AND``, or ``NOT`` option with an array of criteria:
Operators
+++++++++

Default operator is =, but other operators can be used, by giving an array containing operator + value.
Default operator is ``=``, but other operators can be used, by giving an array containing operator and value.

.. code-block:: php
Expand All @@ -205,5 +205,5 @@ Default operator is =, but other operators can be used, by giving an array conta
$DB->request('glpi_computers', ['name' => ['LIKE' , 'pc00%']]);
// => SELECT * FROM `glpi_computers` WHERE `name` LIKE 'pc00%'
Know operators are =, <, <=, >, >=, LIKE, REGEXP, NOT LIKE and NOT REGEX
Know operators are ``=``, ``<``, ``<=``, ``>``, ``>=``, ``LIKE``, ``REGEXP``, ``NOT LIKE`` and ``NOT REGEX``.

0 comments on commit 714bc0a

Please sign in to comment.