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

find_by_id and delete_by_id take any Into primary key value #1362

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

billy1624
Copy link
Member

@billy1624 billy1624 commented Jan 4, 2023

PR Info

New Features

  • find_by_id and delete_by_id take any Into<<Self::PrimaryKey as PrimaryKeyTrait>::ValueType>

Breaking Changes

  • find_by_id and delete_by_id take Into<<Self::PrimaryKey as PrimaryKeyTrait>::ValueType>, used to be Self::PrimaryKey as PrimaryKeyTrait>::ValueType

@baoyachi
Copy link
Contributor

baoyachi commented Jan 4, 2023

LGTM.

@billy1624 billy1624 marked this pull request as ready for review January 4, 2023 06:57
@billy1624 billy1624 requested a review from tyt2y3 January 4, 2023 06:57
@billy1624 billy1624 merged commit 0756adf into master Jan 11, 2023
@billy1624 billy1624 deleted the find-n-delete-by-any-into-id branch January 11, 2023 07:28
denwong47 pushed a commit to denwong47/sea-orm that referenced this pull request Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

why delete_by_id function not receive &str args?
3 participants