From a875db2b825d66abaf4f54dad2efd9918edf1259 Mon Sep 17 00:00:00 2001 From: Andraz Bajt Date: Fri, 3 Jun 2016 08:59:39 +0200 Subject: [PATCH] Update operator documentation --- docs/api/reading.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/api/reading.md b/docs/api/reading.md index 00e1e828c..6c014d3da 100644 --- a/docs/api/reading.md +++ b/docs/api/reading.md @@ -91,15 +91,20 @@ These operators are available: abbreviation | meaning ------------ | ------- eq | equals -gt | greater than -lt | less than gte | greater than or equal +gt | greater than lte | less than or equal +lt | less than +neq | not equal like | LIKE operator (use * in place of %) ilike | ILIKE operator (use * in place of %) -@@ | full-text search using to_tsquery -is | checking for exact equality (null,true,false) in | one of a list of values e.g. `?a=in.1,2,3` +notin | not one of a list of values e.g. `?a=notin.1,2,3` +is | checking for exact equality (null,true,false) +isnot | checking for exact inequality (null,true,false) +@@ | full-text search using to_tsquery +@> | contains e.g. `?tags=@>.{example, new}` +<@ | contained in e.g. `values=<@{1,2,3}` not | negates another operator, see below To negate any operator, prefix it with `not` like `?a=not.eq.2`.