https://github.com/kawakami-o3/go-sqlite3-utils
Libraries for manipulating a SQLite file
https://github.com/kawakami-o3/go-sqlite3-utils
golang sqlite
Last synced: 3 days ago
JSON representation
Libraries for manipulating a SQLite file
- Host: GitHub
- URL: https://github.com/kawakami-o3/go-sqlite3-utils
- Owner: kawakami-o3
- License: mit
- Created: 2018-01-18T03:54:42.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T03:38:15.000Z (almost 8 years ago)
- Last Synced: 2024-06-19T20:52:22.220Z (over 1 year ago)
- Topics: golang, sqlite
- Language: Go
- Size: 62.5 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-sqlite-utils
[](https://goreportcard.com/report/github.com/kawakami-o3/go-sqlite3-utils)
[](https://travis-ci.org/kawakami-o3/go-sqlite3-utils)
Pure Go Libraries for manipulating a SQLite file.
## Installation
```
go get github.com/kawakami-o3/go-sqlite3-utils
```
## Usage
Load the SQLite file, ```/tmp/test.db```,
```
sqlite3utils.Load("/tmp/test.db")
```
Get the first value at the second row in the table, "person",
```
pages.Tables["person"].Entries[1].Datas[0].Value
```
## Todo
- [x] Complicated file: Now, the parser can read wc.db of subversion.
- [x] Overflow page
- [ ] Schema parser
- [ ] Index page
- [ ] Writer