Files
mostlymatter/server
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
..
2023-03-22 17:22:27 -04:00
2025-06-10 15:04:57 -03:00
2023-03-22 17:22:27 -04:00
2025-06-30 16:43:59 -05:00
2025-01-30 15:18:09 +01:00
2025-04-25 11:08:39 +02:00
2025-06-10 15:04:57 -03:00
2023-03-22 17:22:27 -04:00
2023-03-22 17:22:27 -04:00
2025-06-10 15:04:57 -03:00
2024-05-15 12:05:13 -03:00