[Groonga-commit] groonga/groonga at c37dfa6 [master] doc: add summary and syntax section about in_values

Back to archive index

Kouhei Sutou kou****@clear*****
Wed Feb 18 10:10:10 JST 2015


> +``in_values`` function is added since Groonga 4.0.7.

Sphinxにはversionaddedというのがあるのでそれを使ってください。

http://sphinx-doc.org/markup/para.html#directive-versionadded

doc/source/reference/api/grn_column.rstとかでも使っていま
す。


In <c37dfa66c4f14d647e47749116e305b32e5d7106 �� jenkins.clear-code.com>
  "[Groonga-commit] groonga/groonga �� c37dfa6 [master] doc: add summary and syntax section about in_values" on Wed, 18 Feb 2015 09:33:36 +0900,
  HAYASHI Kentaro <null+groonga �� clear-code.com> wrote:

> HAYASHI Kentaro	2015-02-18 09:33:36 +0900 (Wed, 18 Feb 2015)
> 
>   New Revision: c37dfa66c4f14d647e47749116e305b32e5d7106
>   https://github.com/groonga/groonga/commit/c37dfa66c4f14d647e47749116e305b32e5d7106
> 
>   Message:
>     doc: add summary and syntax section about in_values
> 
>   Modified files:
>     doc/source/reference/functions/in_values.rst
> 
>   Modified: doc/source/reference/functions/in_values.rst (+8 -2)
> ===================================================================
> --- doc/source/reference/functions/in_values.rst    2015-02-17 10:50:49 +0900 (ab6a08c)
> +++ doc/source/reference/functions/in_values.rst    2015-02-18 09:33:36 +0900 (90d8bd6)
> @@ -11,12 +11,18 @@ in_values
>  Summary
>  -------
>  
> -TODO
> +``in_values`` function is added since Groonga 4.0.7.
> +
> +``in_values`` enables you to simplify the query which uses multiple ``OR`` or ``==``. It is recommended to use this function in point of view about performance improvements in such a case.
>  
>  Syntax
>  ------
>  
> -TODO
> +``query`` requires two or more arguments - ``target_value`` and multiple ``value``.
> +
> +::
> +
> +  in_values(target_value, value1, ..., valueN)
>  
>  Usage
>  -----




More information about the Groonga-commit mailing list
Back to archive index