Couchbase Questions: javascript

Have a Question? Get it answered by our community

jrgcampuzano's picture
Asked 4 weeks 1 day ago

how to call a spatial view using node.js?

Hi there:

I'm trying to get a spatial view, it seems that the couch can not query. The error be delayed after around a minute is the following :

[Error: Unknown REST Error]

any suggestions would be appreciated.

Here's the code I'm using node.js...

AnupVeerapur's picture
Asked 4 months 5 days ago
Latest activity 4 months 5 days ago

Insert to CB Lite

Hi Team,

I have a json data. Can you pls tel me a simple way how to insert it into couchbase lite db and fetch from it. A simple example would be a lot of help. I am using phonegap and i wanted the help mostly in javascript.

Please let me know, this would save a lot of time....

bmhardy's picture
Asked 6 months 13 hours ago

Views Maps Queries Javascript and Java

Hello,

I have been examining the Android couchbase lite GrocerySync application and have some questions.

1. Creating views using Java: The code for the GrocerySync app creates views with Mappers directly in it's Java code. Is it good practice to do this or is it better to create a...

vgajula's picture
Asked 6 months 1 week ago
Latest activity 3 months 2 days ago

Wrong date in index when used datetoArray

The date value in the document and the view index does not match, is there any issue here?
Here is the sample document:

{
"id": 2331367,
"docType": "m",
"whenReceivedTimestamp": "2012-09-30 23:47:26",
"status": "A"
}

Sample view:
...

G.Maheswar reddy's picture
Asked 1 year 1 month ago
Latest activity 11 months 3 weeks ago

how to do joins in couchbase using java code

Hi ,
I need to find mutual friends from the documents .How to do this by using java.