Search code examples
hyperledger-composer

Hyperledger Composer query with LIMIT and SKIP return all results


Actually I want to list transactions with a limit, but the query return all the result on REST SERVER API , bellow my query

query list {
  description: "List  with limit and offset"
  statement:
      SELECT org.acme.biznet.things
          LIMIT _$limitParam
            SKIP _$skipParam
}

Solution

  • Unfortunately, LIMIT/SKIP support is blocked by Fabric presently as described in Issue 1015 on GitHub.

    https://github.com/hyperledger/composer/issues/1015