-
-
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
sqlite driver suppor save #2764
Comments
@lusson-luo It's great! It then needs some contributor make the pr. |
Hello @lusson-luo. We like your proposal/feedback and would appreciate a contribution via a Pull Request by you or another community member. We thank you in advance for your contribution and are looking forward to reviewing it! |
有两个思路可以实现,1. 采用 insert or replace 方式替代 save 方法。2. 采用 insert ... CONFLICT(xxx) set xxx=xxx。 |
There are two ideas to achieve this. 1. Use insert or replace method instead of save method. 2. Use insert ... CONFLICT(xxx) set xxx=xxx. |
1. What version of
Go
and system type/arch are you using?go 1.20
2. What version of
GoFrame
are you using?gf 2.4.2
3. Can this issue be re-produced with the latest release?
yes
4. What did you do?
sqilte driver don't allow to insert and replace
actually, sqlite support this feature in 3.24.0(2018)https://www.sqlite.org/releaselog/3_24_0.html
so, sqilte driver should allow save method
5. What did you expect to see?
sqilte driver should allow save method
6. What did you see instead?
no
The text was updated successfully, but these errors were encountered: