sqlite-to-json

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 6 Imported by: 0

README

SQLite to JSON

This program allows you to run queries on a SQLite database and output each row as JSON. This is a very basic program, could be modified for other purposes.

Usage
./stj mydatabase.db "SELECT * FROM mytable" > outputfile
Goal

The goal of this program is to be as simple as possible. It also uses no CGO SQLite to enable cross compilation. See supported platforms. This isn't a replacement for sqlite3.

Sources

I used/plagiarized parts of @SchumacherFM's code

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL