Skip to content

A Golang library for dumping SQL text

Notifications You must be signed in to change notification settings

thlib/sqlite3dump

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/thlib/sqlite3dump/...
$ sqlite3dump database.db > database.sql

Unlike the original repo, this will only dump the schema, not the rows.

License

MIT

About

A Golang library for dumping SQL text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%