From: Lucas Di Pentima Date: Mon, 10 Feb 2020 22:29:35 +0000 (-0300) Subject: 15718: Makes documentation clearer. X-Git-Tag: 2.1.0~292^2~2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/dd7da09fe29a98b2af2c3d8fd428d47e0d1e5d74 15718: Makes documentation clearer. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/doc/api/methods.html.textile.liquid b/doc/api/methods.html.textile.liquid index b10af8d6c7..90af08ca5e 100644 --- a/doc/api/methods.html.textile.liquid +++ b/doc/api/methods.html.textile.liquid @@ -130,7 +130,7 @@ table(table table-bordered table-condensed). |@like@, @ilike@|string|SQL pattern match, single character match is @_@ and wildcard is @%@, ilike is case-insensitive|@["properties.my_subproperty", "like", "d00220fb%"]@| |@in@, @not in@|array of strings|Set membership|@["properties.my_subproperty", "in", ["fizz", "buzz"]]@| |@exists@|boolean|Test if a subproperty is present or not (determined by operand).|@["properties.my_subproperty", "exists", true]@| -|@contains@|string, number|Test if a value is present on a subproperty either by exact match or set membership.|@["properties.list_property","contains","some_value"]@| +|@contains@|string, number|Filter where subproperty has a value either by exact match or value is element of subproperty list.|@["foo", "contains", "bar"]@ will find both @{"foo": "bar"}@ and @{"foo": ["bar", "baz"]}@.| Note that exclusion filters @!=@ and @not in@ will return records for which the property is not defined at all. To restrict filtering to records on which the subproperty is defined, combine with an @exists@ filter.