lance-format / lance-format/lance
Parametrize SQL strings
Open
@wjones127 is already working on this.
Since Apr 6, 2024.
enhancement
good first issue
rust
- Dominant language
- Rust
- Stars
- 7.1k
- Forks
- 852
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 272
Description
So users can support potentially untrustworthy inputs, support something like:
.where("id = :id", id = potentially_untrustworthy_string)
Can use placeholders: https://docs.rs/sqlparser/latest/sqlparser/ast/enum.Value.html#variant.Placeholder
And then fill in from there.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.