Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gerold-penz committed Jul 31, 2024
1 parent cf60901 commit 455f63b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 17 deletions.
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -799,10 +799,6 @@ store.decr("my-key") // --> 8
- `length` --> alias for getCount()
- `getCountValid(deleteExpired?: boolean)` --> Number

### Increment, Decrement
- `incr()` --> Number
- `decr()` --> Number

### Get keys
- `has(key: string)` --> Boolean
- `getKeys()` --> Array with all Keys
Expand All @@ -812,3 +808,22 @@ store.decr("my-key") // --> 8
- `<key> in <store>.data`
- `<key> in <store>.d`

### Calculations
- `incr()` --> Number
- `decr()` --> Number


## SQLite as base for a key value storage

SQLite provides a solid and well-tested foundation.
SQLite reliably takes care of saving and reading data -
both for short strings and for larger BLOBs.
It provides a robust foundation on which to build.
Even if SQLite is not fully utilized and no relations between tables are required,
this is not a disadvantage.

Please give this [GitHub project](https://github.com/gerold-penz/bun-sqlite-key-value)
aif this project is useful to you. Thank you very much!
And if you speak German, here is my business homepage:
[GP-Softwaretechnik](https://gp-softwaretechnik.at/)
Maybe you will find something interesting for you there. 😃
12 changes: 0 additions & 12 deletions SQLITE.md

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bun-sqlite-key-value",
"version": "1.7.2",
"version": "1.8.1",
"author": {
"name": "Gerold Penz",
"email": "[email protected]",
Expand Down

0 comments on commit 455f63b

Please sign in to comment.