sqlite_rest

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: MIT Imports: 9 Imported by: 0

README

SQLite rest server

REST API

POST /sql/exec
Body JSON params: sql, params
Return JSON object with lastInsertId and rowsAffected

GET /sql/query
Query params: sql, params
Return array query result list

Sample usage

Build
go build -ldflags "-s -w"

Run
./sqlite_rest -c :memory:

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