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

[+] add pgx.QueryRewriter support #166

Merged
merged 9 commits into from
Oct 18, 2023
Merged

[+] add pgx.QueryRewriter support #166

merged 9 commits into from
Oct 18, 2023

Conversation

pashagolub
Copy link
Owner

No description provided.

dropwhile and others added 2 commits October 13, 2023 16:42
Example usage:

    mock.ExpectExec("INSERT INTO users").
        WithArgs(pgx.NamedArgs{"name": "john", "created": AnyArg()}).
        WillReturnResult(NewResult("INSERT", 1))

closes #164
Copy link
Contributor

@dropwhile dropwhile left a comment

Choose a reason for hiding this comment

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

minor feedback comments in conventionalcomments.org style

expectations.go Outdated Show resolved Hide resolved
pgxmock.go Outdated Show resolved Hide resolved
@pashagolub
Copy link
Owner Author

TIL

Co-authored-by: eli <59039+dropwhile@users.noreply.github.com>
Copy link
Contributor

@dropwhile dropwhile left a comment

Choose a reason for hiding this comment

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

looks good to me 👍

@pashagolub pashagolub merged commit 9d28bb3 into master Oct 18, 2023
3 of 4 checks passed
@pashagolub pashagolub deleted the issue-164 branch October 18, 2023 11:15
@pashagolub pashagolub linked an issue Oct 18, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request WithNamedArgs or something similar
2 participants