You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We now have tools to collect data from databases using the TidierData language, but what about writing to databases?
In R, I had to create a function that saves a temporary csv file and then upload it to MariaDB. I was able to do the same with Julia. This has the advantage of choosing whether to insert with REPLACE or IGNORE duplicate keys.
Do you plan to add these kinds of function to TidierDB? I can help with the MySQL/MariaDB part.
The text was updated successfully, but these errors were encountered:
I have thought about if and how to add write functions. dbplyr does have a set of functions that do so, which would probably be the method/syntax of how we go about adding them. So right now the plan is TBD I'd say.
SQLstrings is an interesting package I have thought about as an example for how to safely write to the underlying database.
In R the DBI package has some function to write tables to databases, but they are extremely slow; probably write line by line. I don't know of any approach to this in Julia.
We now have tools to collect data from databases using the TidierData language, but what about writing to databases?
In R, I had to create a function that saves a temporary csv file and then upload it to MariaDB. I was able to do the same with Julia. This has the advantage of choosing whether to insert with REPLACE or IGNORE duplicate keys.
Do you plan to add these kinds of function to TidierDB? I can help with the MySQL/MariaDB part.
The text was updated successfully, but these errors were encountered: