笔记
没有找到内容!
日常问题解决方案
临时记录Windows 相关Linux 相关
后端开发
GoRustPythonDockerKubernetes中间件微服务网络数据库
前端开发
TypeScript
工具记录
常用 Shell
我的 BGP 信息站
虫洞 | WORMHOLE
开往 | Travelling
主页 文档笔记
更新于:2024-12-05

数据库

trdsql

trdsql一个可以在CSV和LTSV上执行SQL查询的工具 https://github.com/noborus/trdsqlhttps://github.com/noborus/trdsql
trdsql 使用示例
./trdsql -oat -config config.json "select * from table_example where id=1"
config.json 配置示例
{
"db": "mdb",
"database": {
"sdb": {
"driver": "sqlite3",
"dsn": ""
},
"pdb": {
"driver": "postgres",
"dsn": "user=test dbname=test"
},
"mdb": {
"driver": "mysql",
"dsn": "test:test@tcp(ubuntu.wsl:4000)/example?charset=utf8mb4"
}
}
}
回顾上一篇
网络
接下来阅读
TypeScript

博客近期分类标签归档
项目专栏笔记
社交动态友链留言板TwitterTelegrem
更多关于本站GitHub

本站由 lliei0x 创建。
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。

本文目录
  1. trdsql
回到顶部