Skip to content
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

enhance: Save operation support for contrib/drivers/dm #3404

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

oldme-git
Copy link
Member

Dear reviewer:
优化了 dm 数据库的 save 方法,换成了和 Oracle 一套的逻辑。

@gqcn gqcn changed the title imporve: gbd.Save for dm enhance: Save operation support for contrib/drivers/dm Mar 20, 2024
@gqcn gqcn merged commit cade077 into gogf:master Mar 20, 2024
23 checks passed
@oldme-git oldme-git deleted the improve/dmsave branch March 22, 2024 01:18
@cf-devil-cry
Copy link

dameng Save where table has a AUTO_INCREMENT key Id. when save a new Record, it not work .
ex: MERGE INTO forecast_config T1 USING (SELECT 100 AS RATIO,'coeason' AS REASON FROM DUAL) T2 ON (T1.id = T2.id) WHEN NOT MATCHED THEN INSERT(RATIO,REASON) VALUES (T2.RATIO,T2.REASON) WHEN MATCHED THEN UPDATE SET T1.RATIO = T2.RATIO,T1.REASON = T2.REASON; 无法解析的成员访问表达式[T2.ID]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants