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

Dynamically use setMethod() for multiple dispatch #6

Open
krlmlr opened this issue Dec 21, 2020 · 1 comment
Open

Dynamically use setMethod() for multiple dispatch #6

krlmlr opened this issue Dec 21, 2020 · 1 comment

Comments

@krlmlr
Copy link
Member

krlmlr commented Dec 21, 2020

Goal: every S4 method in the wrapped class should get its corresponding method from us.

Example: dbQuote*() .

@krlmlr
Copy link
Member Author

krlmlr commented Dec 22, 2020

library(RPostgres)
methods::findMethodSignatures("dbQuoteString")
#>      conn            x          
#> [1,] "DBIConnection" "ANY"      
#> [2,] "DBIConnection" "character"
#> [3,] "DBIConnection" "SQL"      
#> [4,] "PqConnection"  "character"
#> [5,] "PqConnection"  "SQL"

Created on 2020-12-22 by the reprex package (v0.3.0)

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

No branches or pull requests

1 participant