Reasme update
This commit is contained in:
parent
e3121873cd
commit
6e24b16188
1 changed files with 20 additions and 2 deletions
22
README.md
22
README.md
|
@ -1,7 +1,25 @@
|
||||||
## Work in progress
|
## Work in progress
|
||||||
|
|
||||||
Works pretty well at current. Not 100%, but I'm managing to use the code in other projects just fine. Use at your own risk.
|
Works pretty well at current. Not 100%, but I'm managing to use the code in other projects just fine. Use at your own risk.
|
||||||
|
|
||||||
## What it does
|
## What it does
|
||||||
|
|
||||||
Converts JSON to data in a SQLite database. Makes it way easier to search and manipulate.
|
Converts JSON to data in a SQLite database. Makes it way easier to search and manipulate. You are responsible for of course doing the seraches and what not yourself.
|
||||||
|
|
||||||
|
## Database layout
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
CREATE TABLE "json_data" (
|
||||||
|
"id" INTEGER,
|
||||||
|
"key" TEXT,
|
||||||
|
"parent_key" INTEGER,
|
||||||
|
"type" TEXT,
|
||||||
|
"value" TEXT,
|
||||||
|
PRIMARY KEY("id")
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
You need to either use the blank database provide ore create your own off the SQL above. It currently doesn't auto generate it.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue