Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.1-beta
-
None
-
Security Level: Public
-
None
Description
I previously added this as a comment on JCBC-41
Query q1 = new Query();
long time1 = 0;
long time2 = 99999999;
long time3 = 99999999999l;
q1.setRangeStart(ComplexKey.of(time1));
q1.setRangeEnd(ComplexKey.of(time2));
q1.toString() --> ?startkey=0&endkey=99999999
q1.setRangeStart(ComplexKey.of(time1));
q1.setRangeEnd(ComplexKey.of(time3));
q1.toString()) --> ?startkey=0&endkey=%2299999999999%22
It's throwing quotes around the long value.
Attachments
For Gerrit Dashboard: JCBC-167 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
23194,3 | JCBC-167: Allow long values for ComplexKeys. | master | couchbase-java-client | Status: MERGED | +2 | +1 |