Quantcast
Channel: Mobile - Couchbase Forums
Viewing all articles
Browse latest Browse all 1116

N1QL syntax error on Order BY

$
0
0

I have got strange error strange error when doing query and ordering result. I have use this tutorial SQL++ Query Strings | Couchbase Docs

Query that I use is:
SELECT channels, documentType, meta().id, name, no, workOrderItemId from _ where documentType = ‘Unit’ and meta().id in (“5c8088ef-e0d7-4f64-9a75-b383e18550f3”,“09480290-215b-4744-8212-ec0bdeca2012”) ORDER BY name ASC

Error that i got is:
N1QL syntax error near character 204
(CouchbaseLite Android v3.0.0-192@31 (EE/release, Commit/4769f18387@7451a45c924d Core/3.0.0 (192) at 2022-01-27T02:44:15.135497Z) on Java; Android 9; Logic Instrument Fieldbook N101)

Any idea what is wrong with that query?

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1116

Trending Articles