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

Add datatype-forced sorting #85

Open
wshager opened this issue Jan 4, 2015 · 0 comments
Open

Add datatype-forced sorting #85

wshager opened this issue Jan 4, 2015 · 0 comments

Comments

@wshager
Copy link

wshager commented Jan 4, 2015

Since dstore seems to follow RQL, I would like to see an option to force sort by datatype (e.g. number, boolean, date, etc.). Currently the prefix is escaped, and I think the correct place should be in the sort object: [{property:"id",datatype:"number",descending:false}].

Considering prefixes, I have an idea for an alternative notation: they could just be like functions, e.g. sort(number(id)). I already proposed this in persvr/rql#51.

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

2 participants