title: Inject anything other than param value
body: <p>I'm trying to inject anything other than values using the <code>@Query</code> N1QL query syntax but can't get it to work.</p>
  
  <p>Here is the pure N1QL query:</p>
  
  <pre><code>SELECT * from `my-bucket` WHERE _class = 'my.package.MyModel' AND myParam = 'myValue'
  </code></pre>
  
  <p>I successfully manage to inject <strong>a value</strong> in Java and get the correct results:</p>
  
  <pre><code>// In my repository
  @Query("#{#n1ql.selectEntity} WHERE myParam = $1 AND #{#n1ql.filter}")
  Collection&lt;MyModel&gt; myCustomSearch(String value);
  // In my business code
  myRepository.myCustomSearch("myValue");
  </code></pre>
  
  <p>However I can't manage to inject <strong>anything else (like a param)</strong>. This doesn't work:</p>
  
  <pre><code>// In my repository
  @Query("#{#n1ql.selectEntity} WHERE $1 = 'myValue' AND #{#n1ql.filter}")
  Collection&lt;MyModel&gt; myCustomSearch(String param);
  // In my business code
  myRepository.myCustomSearch("myParam");
  </code></pre>
  
  <p>Considering that in a pure N1QL query, the value usually is wrapped in single quotes ('') and it's not necessary when injecting it, I'm afraid spring-data-couchbase always wraps injected elements with single or double quotes (thus my query is transformed into</p>
  
  <pre><code>SELECT * from `my-bucket` WHERE _class = 'my.package.MyModel' AND 'myParam' = 'myValue'
  </code></pre>
  
  <p>which explains why Couchbase doesn't return any result).</p>
  
  <p>Did I miss something? Otherwise, is there a way to bypass the quote injection from spring-data-couchbase?</p>
  
  <p>I am aware I could simply use a <code>com.couchbase.client.java.Bucket</code> and call <code>query</code> on it, but this loses the whole point of spring-data-couchbase for me, which is to always manipulate POJOs and hide the JSON manipulation.</p>
  
  <p>I appreciate any help!</p>