Add option to bind DECIMAL/NUMERIC to strings
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, sql
- 领域
- database
调研方向
issue 中没有指明文件、入口点或测试。首先定位现有的 DECIMAL/NUMERIC-to-Number 转换,以及连接或查询选项的处理方式。完成标准是用户可以选择以字符串形式接收这些值,并且该选项及其固定精度结果都有覆盖。
由索引模型根据 Issue 内容生成。
描述
Currently, we convert fixed-precision numeric types to Javascript Number objects, which are inexact double precision floating point values. This conversion is a lossy conversion, which is not ideal. We should provide a mechanism to allow the user to bind these to strings so that they can be handled without conversion issues (eg. by using a package which handles fixed-point decimal math).
This is what pg@v2 does by default and mysql does when bigNumberStrings option is enabled.
- 主要语言
- JavaScript
- 星标
- 159
- 派生
- 92
- 平均合并
- 5 小时 59 分钟
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
IBM/node-odbc 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
-
security
难度 3/5 1-2 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 48/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 38/100
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
maproulette/maproulette-frontend#2944 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
NanmiCoder/dsh-agent-teams#255 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
jaegertracing/jaeger-ui#4618 ·
维护者通常 1 天内回复
-
area:plugins enhancement platform:vscode
难度 2/5 1-3 小时 新手友好度 88/100
anthropics/claude-code#103166 ·
维护者通常 1 天内回复