nakagami / firebirdsql

Firebird RDBMS sql driver for Go (golang)
MIT License
224 stars 60 forks source link

Request to create/drop database #97

Closed tredoe closed 4 years ago

tredoe commented 4 years ago

Could be added the API to create/drop a database?

nakagami commented 4 years ago

If you want to create database, use firebirdsql_createdb driver name

sql.Open('firebirdsql_createdb',  ...) 

On the other hand, I think drop database api is do'es not work if it is implemented.

tredoe commented 4 years ago

Well, the file can be deleted directly to drop the database; so, it is not necessary to change the API.