Skip to content
Permalink
Browse files

Add pertinent example for 'LIKE' operator

The usage examples for the 'LIKE' operator are not really pertinent. The proposed change adds an example that actually illustrates the usual usage of the 'LIKE' operator.
  • Loading branch information
tpo authored and m-kuhn committed Jun 3, 2015
1 parent 6a019ad commit 0af69ed9fb8d87de5728536569fc52e299d65fab
Showing with 6 additions and 0 deletions.
  1. +4 −0 resources/function_help/ILIKE
  2. +2 −0 resources/function_help/LIKE
@@ -11,3 +11,7 @@ None
<pre> 'A' ILIKE 'A' &rarr; returns 1 </pre>
<pre> 'A' ILIKE 'a' &rarr; returns 1 </pre>
<pre> 'A' ILIKE 'B' &rarr; returns 0 </pre>
<pre> 'ABC' ILIKE 'b' &rarr; returns 0 </pre>
<pre> 'ABC' ILIKE 'B' &rarr; returns 0 </pre>
<pre> 'ABC' ILIKE '%b%' &rarr; returns 1 </pre>
<pre> 'ABC' ILIKE '%B%' &rarr; returns 1 </pre>
@@ -11,3 +11,5 @@ None
<pre> 'A' LIKE 'A' &rarr; returns 1 </pre>
<pre> 'A' LIKE 'a' &rarr; returns 0 </pre>
<pre> 'A' LIKE 'B' &rarr; returns 0 </pre>
<pre> 'ABC' LIKE 'B' &rarr; returns 0 </pre>
<pre> 'ABC' LIKE '%B%' &rarr; returns 1 </pre>

0 comments on commit 0af69ed

Please sign in to comment.
You can’t perform that action at this time.