Skip to content
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

Merged
merged 25 commits into from
Dec 5, 2020
Merged

Release Beta Branch #76

merged 25 commits into from
Dec 5, 2020

Conversation

bawelter
Copy link
Member

@bawelter bawelter commented Oct 8, 2020

No description provided.

tediyuwono and others added 25 commits February 17, 2020 19:45
pushAttributeKeyFilter
pushAttributeValuesFilter
headers
* 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
int count = await database.count;
result = "Document Count: $count";
database = await Database.initWithName("spirit-bucket");
await database.saveDocumentWithId(DateTime.now().toIso8601String(), Document({}));

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.

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.

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

Copy link
Member Author

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

@bawelter bawelter merged commit 6a8238c into master Dec 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants