-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
added Do
method for raw query by single conn from pool.Conn()
#3182
base: master
Are you sure you want to change the base?
Conversation
Hello! I want to call |
@vmihailenco can u make review please? |
@Oleglacto can you please describe your usecase and add tests? |
@ndyakov It is necessary to execute a raw query on a connection from the pool. Currently, this capability is not available, and workarounds such as |
@Oleglacto on top of my head i cannot think why this should not be possible. Any ideas? How will this behave if you are working with a connection that is in a pub/sub state? p.s. Also the test that is added is failing cc @Oleglacto |
It("should pong with Do cmd", func() { | ||
result := client.Conn().Do(ctx, "PING") | ||
Expect(result.Result()).To(Equal("PONG")) | ||
Expect(result.Err()).NotTo(HaveOccurred()) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test is failing
No description provided.