Files
mostlymatter/server/channels/app
Jesse Hallam ebe03c1d45 Channel Store: No SELECT * (#32167)
* Replace SELECT * with explicit column lists in channel store

Migrates channel_store.go away from SELECT * patterns to explicit column
lists for better performance, maintainability, and schema safety.

- Replace GetPinnedPosts raw SQL with query builder using postSliceColumns()
- Replace "cc.*" in group channel search with channelSliceColumns()
- Replace GetChannelsBatchForIndexing raw SQL with query builder
- Replace channel member and team queries with respective column helpers
- Use SelectBuilder helper instead of manual ToSql() calls

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Replace SELECT * with COUNT(*) in user_test.go

Replaces unnecessary SELECT * queries with SELECT COUNT(*) in
TestPermanentDeleteUser bot count verification. Only needs to check
the count of bots, not retrieve full bot records.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-02 15:35:54 +00:00
..
2025-06-10 15:04:57 -03:00
2025-03-17 14:22:07 +01:00
2025-06-30 16:43:59 -05:00
2023-03-22 17:22:27 -04:00
2023-11-06 12:26:17 +01:00
2023-03-22 17:22:27 -04:00
2023-11-06 12:26:17 +01:00
2025-01-13 18:16:56 +05:30
2025-04-09 11:38:36 +02:00
2025-04-09 11:38:36 +02:00
2025-03-17 14:22:07 +01:00
2025-06-16 16:19:33 -04:00
2023-03-22 17:22:27 -04:00
2025-04-03 13:07:54 +05:30
2025-04-03 13:07:54 +05:30
2025-01-13 20:23:09 +01:00
2025-04-09 11:38:36 +02:00
2024-03-13 10:26:06 +05:30
2025-06-30 16:43:59 -05:00