Comments (8)
通用问题还是直接提到 TDengine 仓库可以比较快的有人响应
from driver-go.
通用问题还是直接提到 TDengine 仓库可以比较快的有人响应
这个并不是通用问题,这个是驱动问题
from driver-go.
@wenj91 参照 mysql 实现
https://github.com/go-sql-driver/mysql/blob/6cf3092b0e12f6e197de3ed6aa2acfeac322a9bb/connection.go#L198-L295
from driver-go.
@wenj91 参照 mysql 实现 https://github.com/go-sql-driver/mysql/blob/6cf3092b0e12f6e197de3ed6aa2acfeac322a9bb/connection.go#L198-L295
不,这只是其中一部分实现,它后续还有处理的,不单单是用strings.Count(query, "?")来简单判断参数个数的,这样必然会出现bug
from driver-go.
@wenj91 欢迎提交pr
from driver-go.
@wenj91 欢迎提交pr
https://github.com/wenj91/taos-driver/blob/320f402a7c3e3bf52028c88ba0d0274d3f3d4cdd/util_sql.go#L123-L235
这是我实现部分,不过还经过大量测试,等我测试完全再提一个pr吧
from driver-go.
@wenj91 欢迎提交pr
https://github.com/wenj91/taos-driver/blob/320f402a7c3e3bf52028c88ba0d0274d3f3d4cdd/util_sql.go#L123-L235 这是我实现部分,不过还经过大量测试,等我测试完全再提一个pr吧
我看着这部分实现,情况考虑的还是不够,我觉得这个应该由C接口来负责语法解析并返回参数数量
@sangshuduo @hjxilinx @dapan1121
from driver-go.
@wenj91 欢迎提交pr
https://github.com/wenj91/taos-driver/blob/320f402a7c3e3bf52028c88ba0d0274d3f3d4cdd/util_sql.go#L123-L235 这是我实现部分,不过还经过大量测试,等我测试完全再提一个pr吧
我看着这部分实现,情况考虑的还是不够,我觉得这个应该由C接口来负责语法解析并返回参数数量 @sangshuduo @hjxilinx @dapan1121
如果能由C接口返回更好,因为MySQL就这么做的
from driver-go.
Related Issues (20)
- 在Macos系统下链接错误 HOT 2
- "Sync leader is unreachable" happend in my tdengine client HOT 1
- golang driver 怎么能支持smlChildTableName。配置在客户端的/etc/taos/taos.cfg 管用吗? HOT 1
- 需要对 wrapper.TaosConnect 返回的连接做个连接池优化吗?
- go test -race 报错 HOT 1
- 请问dsn连接字符串都可以设置什么参数? HOT 2
- 为啥go的Schemaless写入被标注为deprecated
- 3.1.0.0: tcp连接多次运行query失败,restful和ws连接正常 HOT 4
- v3.1.0.0: 客户端taosRestful访问,database/sql Scan timestamp列,时间异常 HOT 2
- invalid DSN: network address not terminated (missing closing brace) HOT 4
- runtime error: makeslice: len out of range HOT 2
- restful driver, not support Query(stmt, args...) HOT 1
- can't run on macbook m2 pro HOT 4
- 关于GO连接器taosRestful时区问题
- 执行SQL时报错: Undefined error: 0
- build constraints exclude all Go files in /root/go/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper HOT 1
- 无法正确连接 db
- Tao驱动直接空指针 HOT 2
- go build failed after go mod tidy success. HOT 1
- 编译时提示无法找到taos.h HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from driver-go.