Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
3.0.0-beta.2
-
None
-
None
-
1
Description
If you have a query like this:
N1QLQuery("select * from `$1`", "default")
you would expect this to work. The body even looks correct. But it fails with an error about not finding the keyspace, and it really looked for a bucket named $1. Same for named params. Yet, putting it later in the query:
N1QLQuery("select * from `default` where field = $1", "foo")
works fine. Could be the backticks? Minor, but just cost me about an hour looking elsewhere for issues. Marking as 3.0.0 but since it is an existing issue, maybe could be pushed back? Also we are re-implementing some of this stuff, so maybe we will fix it in the re-implementation.