Improve data filtering and reduce database query complexity

Refactor database storage to use direct value substitution for WHERE clauses, improving performance and simplifying query construction by removing parameterized queries in server/storage.ts. Also, update user group filtering logic in server/routes.ts to correctly handle optional user groups.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/P1V76jG
This commit is contained in:
michaelschal committed 2025-09-22 15:39:30 +00:00
1 parent e3c3ae29bc
commit c50ef4cea1
4 files changed
+23 -31

No files matched your search

+4 -4
View File
@@ -15,6 +15,10 @@ run = ["npm", "run", "start"]
localPort = 5000
externalPort = 80
[[ports]]
localPort = 33873
externalPort = 3003
[[ports]]
localPort = 38343
externalPort = 3000
@@ -27,10 +31,6 @@ externalPort = 3002
localPort = 41343
externalPort = 3001
[[ports]]
localPort = 43431
externalPort = 3003
[workflows]
runButton = "Project"