我想开发一个安卓应用程序,从这教程中修改文档的内容:
DocumentFragment<Lookup> result = bucket
.lookupIn("subdoc")
.get("sub.value")
.exists("fruits")
.exists("sub.foo")
.execute();
String subValue = result.content("sub.value", String.class);
boolean fruitsExist = result.content("fruits", Boolean.class);
boolean fooExist = bucket.exists("sub.foo");
System.out.println(subValue + ", " +
fruitsExist + ", " +
foExist);但是android不承认查找符号。
1-安卓是否存在SubDocument API?
2-用于android的存在吗?
发布于 2018-03-27 12:01:09
正如论坛帖子中所指出的:
The Android API is provided by Couchbase Lite and doesn’t necessarily have the same featureset. You may want to post to the Couchbase Lite category to inquire about this. It has a bit of a different API, and I don’t think SubDocument is supported there, but there may be an alternative approach.https://stackoverflow.com/questions/49491830
复制相似问题