Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing whitespace in SORT BY function #19

Closed
snc opened this issue Jun 29, 2010 · 3 comments
Closed

Missing whitespace in SORT BY function #19

snc opened this issue Jun 29, 2010 · 3 comments

Comments

@snc
Copy link

snc commented Jun 29, 2010

public Sort BY(String pattern) { bySpec = Command.Options.BY.name() + WSPAD + pattern; return this; }

this function should also append a whitespace after the pattern like the GET function

@alphazero
Copy link
Owner

Thanks snc, will take a look. /R

@sergey-sova
Copy link

Hello, alphazero!

public Sort LIMIT(long from, long count) { limitSpec = Command.Options.LIMIT.name() + WSPAD + from + " " + count; return this; }

And this function should also append a whitespace after the count. Otherwise DESC() not working with LIMIT()

@alphazero
Copy link
Owner

Thank you for reporting. Fixed.

master: commit 9db6c1c
1.2.n: commit 9e6f3a1

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants