I’m trying to add some processing to the Map function in Couchbase view, but not sure what syntax or language I can use there. The documentation only explains about “emit” and switch/case statements.
What I’m trying to do specifically is save different records to different files on the operating system depending on their id. This is to be done inside map function.
Could you please let me know how to do that or if you have a reference to more detailed specifications of the language to use inside Map function.