cockroachdb / cockroachdb/examples-orms

Update SQLAlchemy example to use txn retries

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

描述

Estimated scope of work:

- Update the code to use the `run_transaction` API as described in the *Handling restarted transactions* section of the [Building an application with CockroachDB and SQLAlchemy](https://www.cockroachlabs.com/blog/building-application-cockroachdb-sqlalchemy-2/) blog post.
- Update tests, other things (?) as needed.

贡献指南

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

调研方向

在此仓库中找到 SQLAlchemy 示例,并将其事务处理与博客的“Handling restarted transactions”部分进行比较。更新该示例以使用 run_transaction API,然后运行现有测试并在需要时进行调整。

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

评估

技术栈
python, sqlalchemy
领域
databases
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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