bitcoindevkit / bitcoindevkit/bdk-sqlite

Consider switch to using `query!` macro

未关闭
#11 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
3
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

The [`query!`](https://docs.rs/sqlx/latest/sqlx/macro.query.html) 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](https://github.com/launchbadge/sqlx/tree/main/sqlx-cli#enable-building-in-offline-mode-with-query).

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先定位仓库当前对 sqlx 查询的使用情况,并查看链接的 `query!` 宏和 SQLx 离线模式文档。检查活动的 SQLite 连接和生成的 `.sqlx` 数据如何适配项目,然后验证这些查询能否在离线模式下编译。

由索引模型根据 Issue 内容生成。

评估

技术栈
rust, sqlite
领域
database
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。