I don't know. Can it be attachments?
On Thu, Feb 5, 2015 at 5:19 PM, Roger Sindreu ro...@empaytech.com wrote:
Any suggestions/ideas on that?
Any help will be appreciated.
Thanks
On Mon, Feb 2, 2015 at 11:57 AM, Roger Sindreu ro...@empaytech.com
wrote:
Hi everyone,
Nice to be here and
Why do you want that? Values that are surrounded by quotes are strings. Do
you want strings? You just need to convert your values to strings when
emitting them, like
function(doc) {
emit([doc.user.friends_count.toString(), doc.user.followers_count
.toString(), doc.retweet_count.toString(),
Any suggestions/ideas on that?
Any help will be appreciated.
Thanks
On Mon, Feb 2, 2015 at 11:57 AM, Roger Sindreu ro...@empaytech.com wrote:
Hi everyone,
Nice to be here and thanks everyone for their support to couchdb.
We have a installation with couchdb 1.2.2 (a few gigabytes and
Hi,
I have two update handlers:
|||SetCancelled|:|function(doc,req) {doc['cancelled']=true;
doc['cancelledDate']=Date.now(); return [doc, 'ok'];}|,
|SetLastVisit|:|function(doc,req) {doc['lastvisit']=Date.now(); return [doc,
'ok'];}
|||
How can it be one is writing the date as Unix date,
Sorry,
simply pasting from Futon...
Ignore them.
SetCancelled: function(doc,req) {doc['cancelled']=true;
doc['cancelledDate']=Date.now(); return [doc, 'ok'];},
SetLastVisit: function(doc,req) {doc['lastvisit']=Date.now(); return
[doc, 'ok'];}
cancelled: true,
cancelledDate:
what is this formatting you're using? it is really difficult to read all
those |||
On Thu, Feb 5, 2015 at 10:07 PM, Kiril Stankov ki...@open-net.biz wrote:
Hi,
I have two update handlers:
|||SetCancelled|:|function(doc,req) {doc['cancelled']=true;
doc['cancelledDate']=Date.now(); return
There is probably something off happening when parsing dates between what's
stored on disk in erlang what's sent back. Remember dates are not a thing
in JSON.
My advice would be to NEVER STORE DATES. New date().getTime() and just
get the milliseconds...and when you want to use it use new