1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 01:08:37 +00:00

update nanomq

This commit is contained in:
kev 2024-06-05 15:52:02 +08:00
parent fa5e6a177d
commit 46a3eef3b0

@ -31,8 +31,13 @@ By default, the rule engine function is disabled. To enable it, please compile
with the [-DENABLE_RULE_ENGINE=ON][2] option.
```bash
$ echo 'create table test(topic text, payload text)' | sqlite3 -cmd '.mode csv' data/var/test.db
$ echo 'select * from test' | sqlite3 -cmd '.mode csv' data/var/test.db
$ sudo apt install sqlite3
$ echo 'select * from test' | sqlite3 -cmd '.mode box' data/var/test.db
┌─────┬────┬───────┬─────────────────┬──────────┬──────────┬────────────┬─────────┐
│ Qos │ Id │ Topic │ Clientid │ Username │ Password │ Timestamp │ Payload │
├─────┼────┼───────┼─────────────────┼──────────┼──────────┼────────────┼─────────┤
│ 0 │ 0 │ test │ nanomq-685fba8e │ (null) │ (null) │ 1717486273 │ hello │
└─────┴────┴───────┴─────────────────┴──────────┴──────────┴────────────┴─────────┘
```
[1]: https://github.com/nanomq/nanomq/tree/master