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

[Draft] Improve projection user experience #133

Open
ethe opened this issue Sep 5, 2024 · 2 comments
Open

[Draft] Improve projection user experience #133

ethe opened this issue Sep 5, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers M - Medium Adding a new feature, refactoring a module, performance optimization.

Comments

@ethe
Copy link
Member

ethe commented Sep 5, 2024

use magic number to specify projection columns makes user confuse:

...
let name = "Alice".into();
let upper = "Bob".into();
let mut scan = txn
    .scan((Bound::Included(&name), Bound::Excluded(&upper)))
    // what `1` means???
    .projection(vec![1])
    .take()
    .await
    .unwrap();
...
@ethe ethe added enhancement New feature or request good first issue Good for newcomers M - Medium Adding a new feature, refactoring a module, performance optimization. labels Sep 5, 2024
@dharanad
Copy link

dharanad commented Sep 5, 2024

To get started with the project, I would like to pick this issue up. I know its in Draft, but please do share more info sooner later

@ethe
Copy link
Member Author

ethe commented Sep 5, 2024

@dharanad sure, I will complete it, also if you have good ideas about this design, please generously share it 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers M - Medium Adding a new feature, refactoring a module, performance optimization.
Projects
None yet
Development

No branches or pull requests

2 participants