-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixed:mssqlserver_insert_and_get #4051
base: master
Are you sure you want to change the base?
Conversation
修改多语言替换和参数无关
修改多语言替换和参数无关
修改多语言替换和参数无关
修改多语言替换和参数无关
修改多语言替换和参数无关 还原无关文件
修改多语言替换和参数无关 还原无关文件 处理测试不通过问题
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已经加入注释
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码
…_id' into fixed_mssqlserver_insert_and_get_id
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码 重写Mssql的DoExec方法达到插入增加返回插入ID的目的
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码 重写Mssql的DoExec方法达到插入增加返回插入ID的目的
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码 重写Mssql的DoExec方法达到插入增加返回插入ID的目的 增加多条记录插入测试
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码 重写Mssql的DoExec方法达到插入增加返回插入ID的目的 增加多条记录插入测试 去除不必要的修改
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码 重写Mssql的DoExec方法达到插入增加返回插入ID的目的 增加多条记录插入测试 去除不必要的修改 去除不必要的代码
…_id' into fixed_mssqlserver_insert_and_get_id
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码 重写Mssql的DoExec方法达到插入增加返回插入ID的目的 增加多条记录插入测试 去除不必要的修改 去除不必要的代码
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码 重写Mssql的DoExec方法达到插入增加返回插入ID的目的 增加多条记录插入测试 去除不必要的修改 去除不必要的代码
…_id' into fixed_mssqlserver_insert_and_get_id
增加注释 撤销修改 修改明明避开包名开头 去除不必要的代码 修改框架DoInsert方法,增加参数,减少重复代码 重写Mssql的DoExec方法达到插入增加返回插入ID的目的 增加多条记录插入测试 去除不必要的修改 去除不必要的代码
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
处理了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
处理了
} | ||
return strings.Join(extraSqlAry, ",") | ||
// sql example:INSERT INTO "ip_to_id"("ip") OUTPUT 1 as AffectCount,INSERTED.id as ID VALUES(?) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个文件的代码,和gdb
包中的DoExec
实现代码重复度有点高,需要优化一下。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
之前优化过,你说参考pgsql的做法,现在这个就是参考他的。还要怎么改,能否改个方向?
修复mssqlserver的InsertAndGetId方法;插入记录如果是自增主键则返回ID