I am trying to implement Couchbase Lite on my Cordova Project and need some help.
How do I Test if the values submitted are correct, and how should I read the values?
I need some proper documentation on how to use the
config.db.post
config.db.get
config.db.delete
config.db.put
but sadly I can't find any.
For example when I do the Following, I get 2 alerts in the following exact order:
Alerts:
null
object, object // how can I read this?
For Code:
config.db.post(composition, function(err, ok) {
alert(err);
alert(ok);
}
does this mean the JSON File was created? I can't seem to find any JSON Files on my Phone..