rexxars / sql-to-graphql

Generate a GraphQL API based on your SQL database structure
MIT License
592 stars 73 forks source link

TypeError: (db || "<not set>").toLowerCase is not a function #56

Open mikeerickson opened 6 years ago

mikeerickson commented 6 years ago

I am receiving this error, despite the fact that I am indeed supplying the database. I have tried calling as follows:

sql2graphql -uroot -pW%$$#$#$%@ -P3307 --db stats

and

sql2graphql -uroot -pW%$$#$#$%@ -P3307 --database stats