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

Implement array_prepend and array_remove #4187

Merged
merged 3 commits into from
Aug 24, 2024
Merged

Conversation

edwinlzs
Copy link
Contributor

@edwinlzs edwinlzs commented Aug 20, 2024

Implementing array_prepend and array_remove functions for Postgres under #4153

using specs https://www.postgresql.org/docs/current/functions-array.html

@edwinlzs
Copy link
Contributor Author

I'm still new at contributing to the open source space, do let me know if there's anything that could be done better (e.g. if I should split implementations into 2 separate PRs instead of one)

Copy link
Contributor

@guissalustiano guissalustiano left a comment

Choose a reason for hiding this comment

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

Thanks for submitting this PR!

The change looks mostly good beside the minor improvement in the return type of array_remove.

diesel/src/pg/expression/functions.rs Outdated Show resolved Hide resolved
diesel/src/pg/expression/functions.rs Outdated Show resolved Hide resolved
@edwinlzs
Copy link
Contributor Author

@guissalustiano Thanks for reviewing this PR! I've added a commit with fixes for the issues you highlighted :)

@weiznich
Copy link
Member

Thanks for contributing 👍

I've rebased this PR to resolve merge conflicts.

@weiznich weiznich added this pull request to the merge queue Aug 23, 2024
@weiznich weiznich removed this pull request from the merge queue due to a manual request Aug 23, 2024
@weiznich weiznich added this pull request to the merge queue Aug 24, 2024
Merged via the queue into diesel-rs:master with commit 2457243 Aug 24, 2024
48 checks passed
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