Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Strip IDs from queries #2

Open
mxstbr opened this issue Oct 29, 2017 · 0 comments
Open

Strip IDs from queries #2

mxstbr opened this issue Oct 29, 2017 · 0 comments

Comments

@mxstbr
Copy link
Contributor

mxstbr commented Oct 29, 2017

With either of the callbacks it'd be great to have an option to get the query string without any IDs. What I mean by that is that instead of getting this:

r.table('users').get('max').run()

I want to get this, no matter which ID is passed in:

r.table('users').get(id).run()

That could be useful since in many cases I don't particularly care which specific record was loaded, only how fast the query is overall.

There's likely some edge cases I haven't thought of where this won't work, but it could still be a nice enhancement!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant