vulcan-sql icon indicating copy to clipboard operation
vulcan-sql copied to clipboard

Return error if limit and offset are the same number

Open imAsterSun opened this issue 2 years ago • 0 comments

Environment

  • Version:

    cli version: 0.5.2
    core version: 0.5.2
    build version: 0.5.2
    serve version: 0.5.2
    
  • OS: macOS

What's wrong?

If the limit and offset are set to the same number, it will return an error message.

What's the correct behavior?

It should be a normal respond.

Reproducing steps

  1. Deploy vulcan API with pagination to a canner workspace.
  2. Request the api with offset and limit are the same number, e.g. offset=10&limit=10

imAsterSun avatar Jul 24 '23 02:07 imAsterSun