title: @Query with Pageable parameter in spring-data-couchbase
body: <p>I'm trying to add my own (custom) findMembersByName method to my couchbase repository.</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>public interface MembersRepository extends PagingAndSortingRepository&lt;Member, Long&gt;, MembersRepositoryCustom {
      @Query("#{#n1ql.selectEntity} WHERE (IFMISSING(firstname,'') || ' ' || IFMISSING(lastname,'')) LIKE $1 AND #{#n1ql.filter}")
      Page&lt;Member&gt; findMembersByName(String name, Pageable pageable);
  }
  </code></pre>
  
  <p>but if I try run this method I get exception:</p>
  
  <pre><code>org.springframework.data.repository.query.ParameterOutOfBoundsException: Invalid parameter index! You seem to have declare too little query method parameters!
  </code></pre>
  
  <p>All works fine if I remove pagination, so my query is fine.
  There is a problem with passing 'name' argument to statement.</p>
  
  <p>How should I pass additional param to query when I use pagination?</p>