Open GoogleCodeExporter opened 8 years ago
what do you mean with filters?
validate_doc_update is supported as Java bean property (
getValidateOnDocUpdate() and
setValidateOnDocUpdate(String) )
Others can currently be set over the org.svenson.DynamicProperties interface the
DesignDocument inherits from BaseDocument.
Original comment by ff...@gmx.de
on 21 Nov 2009 at 1:17
oh..
misread that.
It's not currently supported in CouchDB Updater. I was kind of planning to do
that
and other things but I haven't yet found the time to do so.
Original comment by ff...@gmx.de
on 21 Nov 2009 at 1:23
With the CouchDBUpdater you can give a directory containing views, like:
views\some\byId.map.js
views\some\byId.reduce.js
so you can work on the JS files in your favorite editor, right?
but a design document can easily have all kinds of functions, like for example
a
"validate_doc_update" and several filter functions (see attached screenshot).
So my proposal would be:
designName\views\some\byId.map.js
designName\views\some\byId.reduce.js
designName\views\other\bla.map.js
designName\validate_doc_update.js
designName\filters\myfilter.js
...
Original comment by joschaf...@gmx.de
on 21 Nov 2009 at 1:27
Attachments:
ah, I see - I'd be willing to contribute to the project if you are interested
in
another two helping hands...
Original comment by joschaf...@gmx.de
on 21 Nov 2009 at 1:28
patches are always welcome ;) It's just that I'm in a very intense phase at my
day
job that leaves me little time for other things.
Initially I was planning to support a somewhat more relaxed way of accepting
script
layouts. from the way that is currently implemented to the way it's currently
done in
couchapp -- including maybe the !code and !json handling.
Original comment by ff...@gmx.de
on 21 Nov 2009 at 1:34
Original issue reported on code.google.com by
joschaf...@gmx.de
on 21 Nov 2009 at 12:46