feature #8: Pagination for Query & Function
This commit is contained in:
5
src/test/resources/sql/query/Test/selectPaginated.sql
Normal file
5
src/test/resources/sql/query/Test/selectPaginated.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
SELECT json_build_array(
|
||||
json_build_object('id', 3, 'name', :name::text),
|
||||
json_build_object('id', 4, 'name', :name::text || '-2')
|
||||
), 10 as total
|
||||
LIMIT :limit OFFSET :offset
|
||||
Reference in New Issue
Block a user