Consider switch to using `query!` macro

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust, sqlite
Domain
database

Research direction

Start by locating the repository's current sqlx query usage and reviewing the linked query! macro and SQLx offline-mode documentation. Check how an active SQLite connection and generated .sqlx data would fit the project, then verify that the queries compile in offline mode.

Written by the indexing model from the issue text.

Description

The query! macro can be used to check query correctness at compile time. Note: since it requires an active database connection, consider also generating a .sqlx file for use in offline mode.

Dominant language
Rust
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bitcoindevkit/bdk-sqlite

All issues in bitcoindevkit/bdk-sqlite

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.