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

feat(contrib/drivers/dm): add WherePri support #4157

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tiger1103
Copy link
Contributor

The Dameng database supports the wherepri method.
eg: dao.User.Ctx(ctx).WherePri(id)

@@ -60,7 +89,7 @@ func (d *Driver) TableFields(
Type: m["DATA_TYPE"].String(),
Null: nullable,
Default: m["DATA_DEFAULT"].Val(),
// Key: m["Key"].String(),
Key: pkFields.Get(m["COLUMN_NAME"].String()),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tiger1103 Please add associated unit testing case covering the changes.

@gqcn gqcn changed the title The Dameng database supports the wherepri method. feat(contrib/drivers/dm): add WherePri support Feb 20, 2025
@gqcn gqcn added the missing unit testing cases Used in PR, the associated unit testing cases should be committed. label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing unit testing cases Used in PR, the associated unit testing cases should be committed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants