fix sqlite mention.
This commit is contained in:
@@ -22,7 +22,7 @@ var db eventstore.Store
|
||||
var app = &cli.Command{
|
||||
Name: "eventstore",
|
||||
Usage: "a CLI for all the eventstore backends",
|
||||
UsageText: "eventstore -d ./data/sqlite <query|save|delete> ...",
|
||||
UsageText: "eventstore -d ./data <query|save|delete> ...",
|
||||
Flags: []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "store",
|
||||
|
||||
@@ -108,7 +108,7 @@ func main() {
|
||||
|
||||
### But I don't want to write my own database!
|
||||
|
||||
Fear no more. Using the https://fiatjaf.com/nostr/eventstore module you get a bunch of compatible databases out of the box and you can just plug them into your relay. For example, [sqlite](https://pkg.go.dev/fiatjaf.com/nostr/eventstore/lmdb):
|
||||
Fear no more. Using the https://fiatjaf.com/nostr/eventstore module you get a bunch of compatible databases out of the box and you can just plug them into your relay. For example, [lmdb](https://pkg.go.dev/fiatjaf.com/nostr/eventstore/lmdb):
|
||||
|
||||
```go
|
||||
db := lmdb.LMDBackend{Path: "/tmp/khatru-lmdb-tmp"}
|
||||
|
||||
Reference in New Issue
Block a user