tarantool / tarantool/tarantool-python

sql: support prepared statements

未关闭
#199 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

5sp feature sql
主要语言
Python
星标
108
派生
51
平均合并
1 天 8 小时
30 天内合并 PR
1

描述

First, it allows to collect information about data types in a response without actual execution (and also get parsed info re input parameters). Second, it allows to don't resend SQL request text each time, just new input parameters.

Documentation: https://github.com/tarantool/doc/issues/1055 and https://www.tarantool.io/en/doc/latest/dev_guide/internals/box_protocol/.

The database API part is here: #176.

贡献指南

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

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从链接的 Tarantool box 协议文档以及 issue #176 中的数据库 API 工作开始。在定位对应的 Python 客户端入口点之前,确定 prepared statement 请求和响应的行为,包括参数和类型信息。完成标准是客户端支持准备 statement,并使用新的输入参数重复使用这些 statement。

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

评估

技术栈
python, sql
领域
api, database
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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