rizky
74a70e99ca
fix database connection error handling to prevent app crashes
...
- Add proper error handling in database connection attempts
- Set g.db to null when connection fails to prevent subsequent crashes
- Add null check in execQuery to throw meaningful error when DB unavailable
- Improve API endpoint to return 503 status when database is unavailable
- Enhanced logging for better debugging of connection issues
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 09:07:03 +07:00
Rizky
4bf174a09c
fix batch upsert
2024-10-09 14:16:03 +07:00
Rizky
1cca29d504
fix
2024-08-20 11:29:11 +07:00
Rizky
9a562eeb76
fix
2024-08-17 14:30:15 +07:00
Rizky
700cc0887c
fix batch upsert no return deleted
2024-08-12 11:12:42 +07:00
Rizky
78a4141dc8
fix mode batch upsert
2024-08-12 10:50:33 +07:00
Rizky
e23a4a2977
fix query
2024-08-12 10:15:23 +07:00
Rizky
9c04dadf03
update finfo
2024-08-10 18:24:30 +07:00
Rizky
fad1e6ffc1
fix
2024-07-28 09:02:49 +07:00
Rizky
9d9792c56c
fix rel many
2024-07-25 19:05:21 +07:00
Rizky
2b6c39c550
fix rels
2024-07-25 16:19:52 +07:00
Rizky
13ff6810ca
fix
2024-07-20 14:30:57 +07:00
Rizky
e86049c06f
fix
2024-07-17 11:58:16 +07:00
Rizky
a19c228028
fix
2024-07-07 08:19:06 +07:00
Rizky
80cf37b006
fix
2024-07-07 08:13:59 +07:00
Rizky
67322f6fda
fix
2024-07-07 08:13:28 +07:00
Rizky
e1aa1c0d3f
fix
2024-07-07 08:10:37 +07:00
Rizky
9434c4a188
fix
2024-07-07 08:08:13 +07:00
Rizky
36f795222a
fix
2024-07-07 08:05:34 +07:00
Rizky
4a1b05dd56
fix
2024-07-07 08:04:20 +07:00
Rizky
174a54e955
fix
2024-07-07 08:02:09 +07:00
Rizky
87dd053b2a
fix
2024-07-07 08:01:56 +07:00
Rizky
dc94587a2c
fix
2024-07-07 07:59:08 +07:00
Rizky
bc5eeafd04
fix
2024-07-07 07:53:59 +07:00
Rizky
126c116c54
fix
2024-07-07 06:56:19 +07:00
Rizky
e6443b87a1
fix
2024-07-06 18:31:19 +07:00
Rizky
96dbca0e55
fix query
2024-06-25 15:41:38 +07:00
Rizky
0f828bccce
fix query
2024-06-25 15:02:55 +07:00
Rizky
3323a6d801
fix
2024-06-25 07:30:01 +07:00
Rizky
9debeedd0f
fix
2024-06-25 06:58:28 +07:00
Rizky
61834b6adb
fix
2024-06-14 13:11:56 +07:00
Rizky
deadbcd4ad
fix
2024-06-14 13:08:26 +07:00
Rizky
3881b09e73
fix
2024-06-12 23:37:15 +07:00
rizrmd
165c8d10aa
fix
2024-06-04 13:16:16 +07:00
rizrmd
594b37371b
add mode in batch upsert
2024-06-04 13:07:03 +07:00
rizrmd
22134b76db
fix
2024-05-17 17:38:43 +07:00
Rizky
3ef8db58b9
fix query upsert
2024-05-10 19:54:01 +07:00
Rizky
15d725701d
fix query upsert
2024-05-10 19:50:09 +07:00
Rizky
1ea1a21ed2
fix upsert
2024-05-10 19:27:16 +07:00
Rizky
df5cd23f7c
upsert
2024-05-10 19:19:55 +07:00
Rizky
2a31ce79fe
exec query = upsert + prevent deleteMany all records
2024-05-09 05:25:06 +07:00
Rizky
aadb345fc5
fix query
2024-04-27 08:48:21 +07:00
Rizky
9771281430
fix
2024-04-20 15:07:37 +07:00
Rizky
ef4c14cb8f
fix query
2024-04-20 14:04:08 +07:00
Rizky
32a67fdcfe
encryped query raw
2024-04-18 13:50:02 +07:00
Rizky
e20ea7abaf
fix query raw unsafe
2024-04-02 04:18:37 +07:00
Rizky
c6849b3aac
wip fix
2024-03-24 13:52:56 +07:00
Rizky
f8afc41afb
wip fix
2024-03-13 15:46:06 +07:00
Rizky
05b58b369b
wip fix
2024-03-13 15:07:27 +07:00
Rizky
4ac633d4a2
wip add batch update
2024-03-13 15:04:49 +07:00