routewatch/internal/database
sneak 8fc10ae98d Fix NULL handling in GetWHOISStats query
When the asns table is empty, SUM() returns NULL which cannot be
scanned into an int. Wrap SUM expressions in COALESCE to return 0
instead of NULL.
2025-12-31 15:17:09 -08:00
..
database_test.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00
database.go Fix NULL handling in GetWHOISStats query 2025-12-31 15:17:09 -08:00
interface.go Add production hardening: health check, streamer panic fix, db maintenance 2025-12-29 15:55:54 +07:00
models.go Unify IP lookup response structure and add PTR lookups 2025-12-27 15:56:10 +07:00
schema.sql Add WHOIS stats to status page with adaptive fetcher improvements 2025-12-27 16:20:09 +07:00
slowquery.go Reduce slow query threshold from 50ms to 25ms 2025-07-29 04:20:43 +02:00
utils.go Add IPv4 range optimization for IP to AS lookups 2025-07-28 03:23:25 +02:00