-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release Beta Branch #76
Conversation
* Read blob files directly without calling the platform * Fix type in swift code
…o beta � Conflicts: � android/src/main/java/com/saltechsystems/couchbase_lite/CBManager.java � android/src/main/java/com/saltechsystems/couchbase_lite/ReplicatorJson.java � ios/Classes/CBManager.swift � lib/src/replicator_configuration.dart � pubspec.yaml
example/lib/main.dart
Outdated
int count = await database.count; | ||
result = "Document Count: $count"; | ||
database = await Database.initWithName("spirit-bucket"); | ||
await database.saveDocumentWithId(DateTime.now().toIso8601String(), Document({})); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at this code looks like we can save documents with an Id of our choice, is there a way this Id is returned in document response? I will check out but will be happy to know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this method saveDocumentWithId exist? I hunted down the code base could not find it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought that this would be a solution to this #77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can specify the id when creating the mutable document. The documentation is here https://pub.dev/documentation/couchbase_lite/latest/couchbase_lite/couchbase_lite-library.html
No description provided.