Jas
Jas

Reputation: 15133

is it possible to refer to javascript libraries from couchbase?

In couchbase i write the views in javascript. However as my views become more and more complex i need to share some javascript code by means of having libraries of javascript and referencing them (hopefully) from my map reducers.

is that thing possible?

thanks

Upvotes: 1

Views: 78

Answers (1)

jbr
jbr

Reputation: 6258

It is not possible to share code between views in Couchbase, because of the way views are stored internally. You can however have a look at couchapp, which allows you to insert Javascript code from different files into view maps. I think it uses couchdbkit for that.

EDIT

It appears that Erica has taken over from couchapp.

Upvotes: 1

Related Questions