<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -68,7 +68,7 @@
 -export([create_document/3, create_document/4, create_documents/3, create_attachment/5]).
 -export([retrieve_document/3, retrieve_document/4, document_revision/3]).
 -export([update_document/4, delete_document/4, delete_documents/3]).
--export([create_view/5, create_view/6, invoke_view/5, load_view/4]).
+-export([create_view/5, create_view/6, invoke_view/5, invoke_multikey_view/6, load_view/4]).
 -export([raw_request/5, raw_request/6, fetch_ids/2, parse_view/1]).
 -export([get_value/2, set_value/2, set_value/3, fold/2, empty/0]).
 
@@ -367,6 +367,11 @@ invoke_view({Server, ServerPort}, Database, ViewClass, ViewId, Attributes) when
     Url = view_uri(Database, ViewClass, ViewId, Attributes),
     raw_request(&quot;GET&quot;, Server, ServerPort, Url, []).
 
+invoke_multikey_view({Server, ServerPort}, Database, ViewClass, ViewId, Keys, Attributes) when is_list(Server), is_integer(ServerPort) -&gt;
+    Url = view_uri(Database, ViewClass, ViewId, Attributes),
+    JSON = list_to_binary(mochijson2:encode({struct, [{keys, Keys}]})),
+    raw_request(&quot;POST&quot;, Server, ServerPort, Url, JSON).
+
 %% @doc Return a list of document ids for a given view.
 parse_view({json, {struct, [{&lt;&lt;&quot;error&quot;&gt;&gt;, _Code}, {_, _Reason}]}}) -&gt;
     {0, 0, []};</diff>
      <filename>src/erlang_couchdb.erl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>09c456b58fdc909dbb1049726aa4890cd1a22b17</id>
    </parent>
  </parents>
  <author>
    <name>Paul Bonser</name>
    <email>pib@paulbonser.com</email>
  </author>
  <url>http://github.com/pib/erlang_couchdb/commit/65abf2fd756548b98608004b72d12fbdf6083f85</url>
  <id>65abf2fd756548b98608004b72d12fbdf6083f85</id>
  <committed-date>2009-04-30T17:21:22-07:00</committed-date>
  <authored-date>2009-04-30T17:21:22-07:00</authored-date>
  <message>add support for multi-key views</message>
  <tree>fcd5e328fb809b706b8673a9b48e4aca15309e56</tree>
  <committer>
    <name>Paul Bonser</name>
    <email>pib@paulbonser.com</email>
  </committer>
</commit>
