feat(db): 实现多数据库方言与表名前缀支持功能
- 扩展 Dialect 接口,添加 QuoteIdentifier 和 QuoteChar 方法 - 新建 identifier.go,实现 IdentifierProcessor 及智能解析逻辑 - 在 db.go 中集成处理器,添加 T() 和 C() 辅助方法 - 修改 crud.go 中 Select/Insert/Update/Delete/buildJoin 等方法 - 修改 where.go 中 varCond 等条件处理方法 - 检查并更新 builder.go 相关功能 - 编写测试用例验证多数据库和前缀功能 - 移除调试日志文件以完成开发任务
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"setup-worktree": [
|
||||
"npm install"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user