We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pbpgx/crud/create.go
Line 106 in 38fe474
Executing the INSERT...RETURNING query which fails to insert, the returned error is pgx.ErrNoRows, while it should be the original error:
INSERT...RETURNING
pgx.ErrNoRows
6:27PM ERR Query args=[{"ValueTranscoder":"muhlemmer"},{"ValueTranscoder":"[email protected]"}] err="ERROR: duplicate key value violates unique constraint \"users_email_key\" (SQLSTATE 23505)" module=pgx pid=373 sql="INSERT INTO \"account\".\"users\" (\"nickname\", \"email\") VALUES ($1, $2) RETURNING \"email\", \"nickname\", \"updated_at\", \"created_at\", \"id\";" panic: Table "account"."users" Create[0]: no rows in result set
The text was updated successfully, but these errors were encountered:
No branches or pull requests
pbpgx/crud/create.go
Line 106 in 38fe474
Executing the
INSERT...RETURNING
query which fails to insert, the returned error ispgx.ErrNoRows
, while it should be the original error:The text was updated successfully, but these errors were encountered: