A Golang library for dumping SQL text
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/sqlite3dump
testing
README.md
dump.go
dump_test.go
go.mod

README.md

sqlitedump
Code Coverage Code Coverage

This is a Golang port of Python's sqlite3 .iterdump() command. This is written to use mattn/go-sqlite3. Both are supposed to be functionally equivalent to sqlite3 DATABASE .dump.

There is also a command-line tool that you can use.

$ go get github.com/schollz/sqlite3dump/...
$ sqlite3dump database.db > database.sql

License

MIT