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

Strip IDs from queries #2

Open
Open
@mxstbr

Description

@mxstbr

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions