Comments (4)
Can you ask on the couchbase mobile google group?
https://groups.google.com/forum/m/?utm_medium=email&utm_source=footer#!forum/mobile-couchbase
from todolite-android.
i have not found any help from groups website .
hi ! thanks for your help.
i have a question about query cause .
i mean .in sql such as :select *from user where (sore >90 and per = ‘wade’) or due = ‘today’
how query this line on couch???
Thanks
from todolite-android.
This might help http://developer.couchbase.com/mobile/develop/guides/couchbase-lite/native-api/query/index.html
from todolite-android.
my data:
2014-09-30 09:19:01.980 TestCLDB[490:10457] Found document: CBLDocument[N_ol..ro_3] ,{
"_id" = "N_older_Pro_3";
"_rev" = "1-0601c2e7054bd8f1c21f26c9ebd93c3a";
contactData = "Tel: +4912342343";
progress = 60;
type = contacInfo;
userOlder = 8;
"user_id" = "N_older_Pro_3";
}
2014-09-30 09:19:01.981 TestCLDB[490:10457] Found document: CBLDocument[N_ol..ro_2] ,{
"_id" = "N_older_Pro_2";
"_rev" = "1-e550947cda089edd35170c49c6d1023b";
contactData = "Tel: +4912342342";
progress = 65;
type = contacInfo;
userOlder = 9;
"user_id" = "N_older_Pro_2";
}
2014-09-30 09:19:01.981 TestCLDB[490:10457] Found document: CBLDocument[N_ol..ro_0] ,{
"_id" = "N_older_Pro_0";
"_rev" = "1-2fc730769d3a7ff64c7e3e512cadb12a";
contactData = "Tel: +4912342340";
progress = 75;
type = contacInfo;
userOlder = 8;
"user_id" = "N_older_Pro_0";
}
and i query (progress>60 and progress<75) and (userOlder>5 and userOlder<8)
i use this:
query.startKey = @[pro,startOlder];
query.endKey = @[endPro, endOlder];
but it will return the progress>60 and progress<75 but not filter userOlder ?
why ??
thanks
my project here:(https://github.com/79144876/CouchbaseQuery) you can test it!
from todolite-android.
Related Issues (20)
- ToDoLite App crashes when try to solve conflict
- TodoLite crashing when losing authentication
- How to change listview to expandable listview for Todolite?
- Facebook login does not work for Nexus 5 6.0.1 HOT 5
- NPE from ToDoLite-Android
- TodoLite uses or overrides a deprecated API HOT 1
- Empty row issue HOT 1
- Prevent user profile to be created with null username.
- Update all time stamps to use UTC for parity with TodoLite iOS HOT 1
- SimpleAndroidSync / SampleiOS showing errors in ui
- Invalid key hash error facebook login HOT 4
- App crashes when taking photo HOT 2
- Unable to login with facebook HOT 1
- Delete tasks when list is deleted HOT 1
- NullPointerException when showing toast message HOT 2
- Touch "take photo" button on Nexus 9 / Android N -> App crash.
- Rotating an app can cause replication to stop
- Dev variant is not mentioned in project HOT 3
- Shouldn't use internal Log class for logging HOT 3
- Can't fix the gradle and import errors? what To change for the last version android & 29
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from todolite-android.