I want to get server database update_seq.
I am getting all information of local database using this code :
config.db.changes({since : config.info.update_seq}, function(err, change)
{
console.log(config);
console.log(change);
}
Both gives local database info. But can't find any info about server database.
How can I get it?
{"db_name":"amitesting","doc_count":477,"doc_del_count":6,"update_seq":522,"purge_seq":0,"compact_running":false,"disk_size":1028216,"data_size":324307,"instance_start_time":"1405537345886287","disk_format_version":6,"committed_update_seq":522}Now, how can I fetch CouchDB server's database info like "update_seq", "doc_count"?
--To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/3D4D1C1E-38A6-4149-B1E9-B104BA6B60EF%40couchbase.com.
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCHPPqzw3XYkzLzF9OfCZ7bMgJK8n8b%3DykVOs0ZLGh-LcA%40mail.gmail.com.
I am using todolite-Phonegap which is also using coax internally. Check here : https://github.com/couchbaselabs/TodoLite-PhoneGap/blob/master/js/modules.jsThat's why I am having trouble when I include coux library.
Yeah!
I tried to fetch data using coax which returns XMLHttpRequest object in return. So, again I have to parse it to JSON. That's reducing performance.
Instead of that, I am fetching database info using Angular $http object which is working very fast.
Thanks!
--
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/7FE2394D-8FC8-4CA8-BC94-963B6062C0B3%40couchbase.com.
--To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CALA2sAatOmqYPDLJjdi40V91RSLe2xuAf5pkVoFK4J4Oci5Ddg%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/R1Qw1seuFhw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.