Run query: UPDATE "messages" SET sender = substr( text, 1, INSTR(text, ':')-1 )
run your queries
do not forget to repeat step 1
Access DB with SQLite
1. Add field "sender" to table messages
2. Run query: `UPDATE "messages" SET sender = substr( text, 1, INSTR(text, ':')-1 ) `
3. run your queries
4. do not forget to repeat step 1
<!-- github-sync-id:3907236074 -->
Thanks for the tip. Its something I've thought about, but assumes MeshCore firmware keeps prefixing the node name before the message.
Ideally, I'd like to handle this at the "collector" stage, basically, splitting the string (as per your example), but then looking up the "friendly name" in the Node table and dereferencing so we can then filter by "Nodes" (for example).
I'll update the issue title and have a think.
Thanks for the tip. Its something I've thought about, but assumes MeshCore firmware keeps prefixing the node name before the message.
Ideally, I'd like to handle this at the "collector" stage, basically, splitting the string (as per your example), but then looking up the "friendly name" in the Node table and dereferencing so we can then filter by "Nodes" (for example).
I'll update the issue title and have a think.
<!-- github-comment-id:3861774616 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Access DB with SQLite
UPDATE "messages" SET sender = substr( text, 1, INSTR(text, ':')-1 )Thanks for the tip. Its something I've thought about, but assumes MeshCore firmware keeps prefixing the node name before the message.
Ideally, I'd like to handle this at the "collector" stage, basically, splitting the string (as per your example), but then looking up the "friendly name" in the Node table and dereferencing so we can then filter by "Nodes" (for example).
I'll update the issue title and have a think.