<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">Kouhei Sutou <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2017-04-13 13:19:36 +0900 (Thu, 13 Apr 2017)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96">945543f0eab9f0bca74b38f614392272ca735e96</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Add since</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70">lib/groonga/client/request/select.rb</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/groonga/client/request/select.rb (+9 -6)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L90">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L93">93</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L96">96</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L169">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L170">170</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L171">171</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L172">172</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L173">173</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L174">174</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L175">175</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L176">176</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L177">177</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L178">178</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L179">179</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L180">180</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L181">181</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L182">182</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L183">183</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L184">184</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L185">185</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70L186">186</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R90">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R93">93</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R94">94</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R96">96</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R97">97</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R98">98</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R171">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R172">172</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R173">173</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R174">174</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R175">175</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R176">176</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R177">177</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R178">178</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R179">179</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R180">180</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R181">181</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R182">182</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R183">183</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R184">184</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R185">185</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R186">186</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R187">187</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R188">188</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/945543f0eab9f0bca74b38f614392272ca735e96#diff-77896fa1ebc078d26d520b539cd80e70R189">189</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -91,6 +91,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Groonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # @return [Groonga::Client::Request::Select::Filter]</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # The new request object for setting a filter condition.</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ #</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # @since 0.4.3</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def filter(expression_or_column_name=nil, values_or_value=nil)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if expression_or_column_name.nil? and values_or_value.nil?</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return Filter.new(self)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -170,17 +172,18 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Groonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> parameters.key?(:offset) and parameters.key?(:limit)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # @since 0.4.3</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> class Filter</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def initialize(request)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @request = request</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- # <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000"> </span>@example: Use in_values function</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- # <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000"> </span>request.</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- # <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000"> </span>filter.in_values("tags", "tag1", "tag2").</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- # <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000"> </span># -> --filter 'in_values(tags, "tag1", "tag2")'</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- # <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000"> </span>filter("user", "alice")</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- # <span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000"> </span># -> --filter '(in_values(tags, "tag1", "tag2")) && (user == "alice")'</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # @example: Use in_values function</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # request.</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # filter.in_values("tags", "tag1", "tag2").</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # # -> --filter 'in_values(tags, "tag1", "tag2")'</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # filter("user", "alice")</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ # # -> --filter '(in_values(tags, "tag1", "tag2")) && (user == "alice")'</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # @param [String, Symbol] column_name The target column name.</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>