Þ•*l;¼¨©e½;#._<ŽhËi4Wž¨öHŸ-è?V it ˆ•IJÄw ð< ð-  ž ¦ ˜­ MF D” íÙ Ç!Í ï@û><¹{©5ßó !!1Cue‰;ï.+<Zh—iWj¨ÂHk-´?â" 5@ TaÄ~ÄCððùêjr˜yMD`í¥“!™ »@Ç> ¹G ©!«!¿!Î!Ö!å!!í!# ( '*$) !  % "&Execution example::For example, suppose you narrow down records by ``--filter`` and you narrow down them by ``between``.Here are a schema definition and sample data to show usage.Here is a query to set options of ``between``:Here is a query to show users who match PG-13 rating (MPAA).If you narrow down records to 1,000 by ``--filter`` and records of the target of ``between`` are 50,000.If you narrow down records to 1,000 by ``--filter`` and records of the target of ``between`` are 500,000.If you specify a value as the 1st parameter, it checks whether the value is included or not. If the value matches the specified range, the ``select`` returns all the records because the ``between`` function returns true. If it doesn't match the specified range, the ``select`` returns no records because the ``between`` function returns false.In the above case, it returns all the records because 14 exists in between 13 and 16. This behavior is used for checking the specified value exists or not in the table.In the default, ``between`` use sequential search in the following case.It returns 13, 14, 15 and 16 years old users.On the other hand, ``between`` use index in the following case.Optional parameterParametersRequired parametersReturn valueSpecifies a column or value.Specifies the maximum border value of the range. The range is inclusive by default but you can control the behavior that the value of ``max`` is included or excluded with ``max_border`` parameter.Specifies the minimal border value of the range. The range is inclusive by default but you can control the behavior that the value of ``min`` is included or excluded with ``min_border`` parameter.Specifies whether the specified range contains the value of ``max`` or not. The value of ``max_border`` must be either "include" or "exclude". If it is "include", ``max`` value is included. If it is "exclude", ``max`` value is not included.Specifies whether the specified range contains the value of ``min`` or not. The value of ``min_border`` must be either "include" or "exclude". If it is "include", ``min`` value is included. If it is "exclude", ``min`` value is not included.Specify between's option. Currently, you can only specify ``too_many_index_match_ratio``. The type of this value is ``double``.SummarySyntaxThen, you can also specify options of ``between``. Currently, you can only specify ``too_many_index_match_ratio``. The type of this value is ``double``.There are three required parameters ``column_or_value``, ``min`` and ``max``.There are two optional parameters ``min_border`` and ``max_border``.There is a case that sequential search is faster than index search when the number of narrowed down records is small enough in contrast to the number of expected records to narrow down by ``between`` with AND operation which use indexes.UsageYou can change the value of ``GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO`` with ``too_many_index_match_ratio``. The default value of ``GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO`` is ``0.01``. ``GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO`` is used for deciding whether ``between`` use an index or not.``between````between`` function accepts not only a column but also a value.``between`` has some parameters from three to six parameters::``between`` is used for checking the specified value exists in the specific range. It is often used in combination with :ref:`select-filter` option in :doc:`/reference/commands/select`.``between`` returns whether the column value exists in the specified range or not. If a record matches the specified range, it returns true. Otherwise, it returns false.``column_or_value````max_border````max````min_border````min````{"option": "value of option"}``Project-Id-Version: Groonga 16.0.5 Report-Msgid-Bugs-To: PO-Revision-Date: 2026-05-22 06:03+0000 Last-Translator: Automatically generated Language-Team: none MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: en Plural-Forms: nplurals=2; plural=(n != 1); Execution example::For example, suppose you narrow down records by ``--filter`` and you narrow down them by ``between``.Here are a schema definition and sample data to show usage.Here is a query to set options of ``between``:Here is a query to show users who match PG-13 rating (MPAA).If you narrow down records to 1,000 by ``--filter`` and records of the target of ``between`` are 50,000.If you narrow down records to 1,000 by ``--filter`` and records of the target of ``between`` are 500,000.If you specify a value as the 1st parameter, it checks whether the value is included or not. If the value matches the specified range, the ``select`` returns all the records because the ``between`` function returns true. If it doesn't match the specified range, the ``select`` returns no records because the ``between`` function returns false.In the above case, it returns all the records because 14 exists in between 13 and 16. This behavior is used for checking the specified value exists or not in the table.In the default, ``between`` use sequential search in the following case.It returns 13, 14, 15 and 16 years old users.On the other hand, ``between`` use index in the following case.Optional parameterParametersRequired parametersReturn valueSpecifies a column or value.Specifies the maximum border value of the range. The range is inclusive by default but you can control the behavior that the value of ``max`` is included or excluded with ``max_border`` parameter.Specifies the minimal border value of the range. The range is inclusive by default but you can control the behavior that the value of ``min`` is included or excluded with ``min_border`` parameter.Specifies whether the specified range contains the value of ``max`` or not. The value of ``max_border`` must be either "include" or "exclude". If it is "include", ``max`` value is included. If it is "exclude", ``max`` value is not included.Specifies whether the specified range contains the value of ``min`` or not. The value of ``min_border`` must be either "include" or "exclude". If it is "include", ``min`` value is included. If it is "exclude", ``min`` value is not included.Specify between's option. Currently, you can only specify ``too_many_index_match_ratio``. The type of this value is ``double``.SummarySyntaxThen, you can also specify options of ``between``. Currently, you can only specify ``too_many_index_match_ratio``. The type of this value is ``double``.There are three required parameters ``column_or_value``, ``min`` and ``max``.There are two optional parameters ``min_border`` and ``max_border``.There is a case that sequential search is faster than index search when the number of narrowed down records is small enough in contrast to the number of expected records to narrow down by ``between`` with AND operation which use indexes.UsageYou can change the value of ``GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO`` with ``too_many_index_match_ratio``. The default value of ``GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO`` is ``0.01``. ``GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO`` is used for deciding whether ``between`` use an index or not.``between````between`` function accepts not only a column but also a value.``between`` has some parameters from three to six parameters::``between`` is used for checking the specified value exists in the specific range. It is often used in combination with :ref:`select-filter` option in :doc:`/reference/commands/select`.``between`` returns whether the column value exists in the specified range or not. If a record matches the specified range, it returns true. Otherwise, it returns false.``column_or_value````max_border````max````min_border````min````{"option": "value of option"}``