Custom DBMS support #251
Replies: 4 comments 2 replies
-
|
Under the hood, we're just using SQL queries to send data to the postgres database, so it might still work with another SQL Server. If you look at db <- list(db = pool, table = table)So if you can make a pool connection to your SQL database and then make a similar |
Beta Was this translation helpful? Give feedback.
-
|
Maybe it works, but may I suggest that with a little tweak it maybe possible to add support for a wide variety of DBMS. I didn't explore all the codebase but i saw that the pool connection is built in with try_db_connection and the driver is fixed to RPostgres Line 1492 in f5c8c60 It might be interesting to let RPostgres as a default but allow to set a different driver in the params argument, like odbc for example. In this way, expecially if the creation of a table and the appending of data is done with DBI (dbCreateTable, dbAppendTable) there's automatically a wide support for a lot of DBMS with an already fair translation to the correct SQL if necessary, done via the driver. I will try your suggestion since it's very simple, but you might consider my suggestion too. |
Beta Was this translation helpful? Give feedback.
-
|
It's a great idea! And simple enough to support. As you suggested, |
Beta Was this translation helpful? Give feedback.
-
|
Tagged this as an enhancement request in #252 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I don't know if it's already supported. Looking through the documentation doesn't seem so. I think it would be very useful to allow the connection to every kind of database. The support for postgres is great, in this way the survey can be completely free. But we are already paying for a SQL Server and would be nice to have the responses directly in our database, without needeing to creating another one even for free.
Beta Was this translation helpful? Give feedback.
All reactions