incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCaffrey" <mmccaff...@ittvis.com>
Subject Erlang views
Date Thu, 19 Nov 2009 23:15:34 GMT
Playing around with erlang views and I'm trying to spawn the Emit.

 

I see the Emit is defined in couch_native_process but can't get the
spawn to work.

 

Tried spawn(erlang, Emit,["A',"B"]),  spawn(couch_native_process, Emit,
["A","B"]), etc.

 

Get errors like this.

   {badarg,

       [{erlang,spawn,

            [erlang,

             #Fun<couch_native_process.5.68659142>,

             [<<"A">>,<<"B">>]]},

 

Anyone know the proper syntax? 

 

Thanks


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message