Reto Brunner
|
ee8223c200
|
sqlite: use serialize_fetchall in getMessages
|
2022-11-01 22:23:47 +01:00 |
|
Reto Brunner
|
cc3302e874
|
sqlite: create serialize_fetchall helper function
That puts all the serialization logic into one place and
allows us to use async / promises
|
2022-11-01 22:23:47 +01:00 |
|
Reto Brunner
|
89ee537364
|
sqlite: add run helper function
Extract the serialization logic into a single place and
consistently log errors to the console rather than a fire
and forget approach.
|
2022-11-01 22:23:30 +01:00 |
|
Reto Brunner
|
e62b169a6a
|
sqlite: fix docstring
|
2022-11-01 22:19:56 +01:00 |
|
Reto Brunner
|
f6b292107e
|
sqlite: move export to bottom of the file
This makes it easier to see what's getting exported, rather than
if it's interspersed randomly in the middle of the file
|
2022-11-01 22:19:56 +01:00 |
|
Reto Brunner
|
cebc6d069f
|
sqlite: error if sqlite isn't enabled but search() is called
When we assert that something can't possibly happen, we better
error out rather than jugging on with no error ;)
|
2022-11-01 22:19:56 +01:00 |
|
Max Leiter
|
dd05ee3a65
|
TypeScript and Vue 3 (#4559)
Co-authored-by: Eric Nemchik <eric@nemchik.com>
Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
|
2022-06-18 17:25:21 -07:00 |
|