nosql icon indicating copy to clipboard operation
nosql copied to clipboard

Add support to prepare to skip and limit on the query

Open otaviojava opened this issue 3 years ago • 1 comments
trafficstars

@Query("select * from Variants where caseLevelData.biosampleId =@biosampleId skip @skip limit @limit")
List<VariantEntity> findByBiosampleId(@Param("biosampleId") String
biosampleId, @Param("skip") int skip, @Param("limit") int limit);

Unfortunately, this doesn't work either. I got an ANTLR exception:

QueryException: line 1:75 mismatched input '@skip' expecting INT

We need to add support to parameter types on skip and limit.

otaviojava avatar Jun 21 '22 10:06 otaviojava

Ref: https://www.eclipse.org/lists/nosql-dev/msg00159.html

otaviojava avatar Jun 21 '22 10:06 otaviojava

We won't work on it for a while, so I'll close until we return this work.

otaviojava avatar Oct 22 '22 04:10 otaviojava