-
Notifications
You must be signed in to change notification settings - Fork 28
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
package dbi and reverse engineer #3
Comments
Yes, it is possible to reverse engineer from MySQL. All you have to do is an SQL query that returns all tables, columns and references. See existing queries for SQL Server and Postgres (https://github.com/bergant/datamodelr/tree/master/inst/sql). Save the results in a data frame and then use |
Thank you for helping. but I need more help ! I ma connecting to local db witrh this code :
Based on your read.me, I am note able to adapt this piece of code from "sqlserver" to my sql db
|
Is there a translation of the SQL Server query to MySQL? I have started to work on it but it’s slow going. For example, sys.all_columns may equate to INFORMLTION_SCHEMA.columns. |
Hello,
Very interesting !
Can we use dbi package to make a reverse engineer diagramm ?
Message :
Error in UseMethod("as.data_model") :
no applicable method for 'as.data_model' applied to an object of class "c('MySQL', 'OdbcConnection',
'DBIConnection', 'DBIObject')"
The text was updated successfully, but these errors were encountered: