JamesStewy / go-mysqldump

Create SQL dumps in Go without external dependencies
MIT License
155 stars 89 forks source link

mysqldump CLI --all-databases equivalent #23

Open 4lisalehi opened 3 years ago

4lisalehi commented 3 years ago

Does this library include the option of dumping all databases of a MySQL db server? Its CLI equivalent has --all-databases flag which does what I need.

According to the example in the README, dumper works according to its mysql dsn input which requires dbname to be specified. Am I right?