Linden
|
34a126be44
|
fix(config): allow database to be undefined in uri
|
2024-07-05 15:50:19 +10:00 |
|
Linden
|
9ee0f62d63
|
chore(utils/typeCast): use patched type
|
2024-06-17 23:42:12 +10:00 |
|
Linden
|
c38f646bb9
|
refactor(database): add new connection class and misc tweaks
Use disposable symbol to ensure connection cleanup.
Improvements to internal types.
Code splitting and removal of redundant variables.
|
2024-06-17 15:33:39 +10:00 |
|
Linden
|
0a8b15a9b5
|
feat(logger): add logStorage size limit
Prevent excessive memory use when people use ui in production.
|
2024-02-02 16:50:07 +11:00 |
|
George
|
e7ae5a6f30
|
fix(config): json parsing (e.g. ssl) (#203)
|
2023-11-08 02:04:57 +11:00 |
|
Linden
|
f3401eb671
|
fix(config): export convertNamedPlaceholders
parseArguments relied on options.namedPlaceholders, which is now always false.
Function is now exported directly when enabled (+typed).
|
2023-07-19 14:29:21 +10:00 |
|
Linden
|
d95ba8b5ce
|
fix(config): respect connection-string flags
|
2023-07-12 00:14:57 +10:00 |
|
Linden
|
37a3a7cd0a
|
fix(config): don't set connection info with falsey key
When using the semicolon connection string, a trailing semicolon
displays an error about an invalid configuration option.
|
2023-07-12 00:09:00 +10:00 |
|
Linden
|
b2387fc33a
|
refactor: minor tweaks and cleanup
Primarily moving connectionOptions fully to config.
Removed exported resource name.
Include error code and number when database connection fails.
|
2023-07-12 00:05:29 +10:00 |
|
Linden
|
fa0068e798
|
refactor(database): use mysql2/promise
Better code-flow.
Other minor changes to config.
Remove profiling (temp).
|
2023-07-11 16:33:01 +10:00 |
|