-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Some ideas on improving the Scan method of orm #3538
Comments
@gqcn 强哥怎么看呢? |
@gqcn What do you think of Brother Qiang? |
关于(*gdb.HookSelectInput).Next 方法不兼容,目前我想到了以下几种解决方案
其实可以1和3结合一下,提供新的api,同时旧的Next方法不变,在注释上加上Deprecated标记, |
Regarding the incompatibility of the (*gdb.HookSelectInput).Next method, I currently have the following solutions in mind:
In fact, you can combine 1 and 3 to provide a new API. At the same time, the old Next method remains unchanged, and the Deprecated mark is added to the annotation. |
HookSelectInput.Next
方法不兼容,因为用户可能会依赖Next方法的返回值,对数据做一些处理之类的,而改动后的逻辑不在使用返回值来返回数据,可能需要增加一个新的api或者新的HookSelectInput。Next
方法里面的缓存逻辑可能需要做些更改从Scan方法一直到最低层的RowsToResult的调用链
The text was updated successfully, but these errors were encountered: