www.webdeveloper.com

Search:

Type: Posts; User: kingfu

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,304

    function (doc, rec) { if (doc.expiryDate ==...

    function (doc, rec) {

    if (doc.expiryDate == null && (doc.countries.indexOf(rec.query.country) != -1)) {
    return doc;
    } else {
    var expiry = doc.expiryDate;
    if (expiry > rec.query.today...
  2. Replies
    2
    Views
    1,304

    Where am I going wrong with this javascript?

    I'm using javascript in CouchDb to build a filter which takes arguments. In the filter I'm trying to retrieve an array in CouchDB and see if it contains a parameter I pass in. I know the data going...
Results 1 to 2 of 2
HTML5 Development Center



Recent Articles