I am using Couchbase Server 4.1.0-5005 Enterprise Edition (build-5005)
My doc like this:
{"type":"SAMPLE","when": 1454765217478,"object":"obj-1"}
I can not query when
or object
fields,like:
select `when` from mydb
select `object` from mydb
return
"errors": [
{
"code": 3000,
"msg": "syntax error - at `when`"
}
]
but I can query data by condition on when
or object
(but also can not query when
or object
fields)
select * from mydb where `object` == "obj-1";