MessageRecord.fetchOne decodes all columns but the query only selects id, causing "column not found: accountId". Use COUNT(*) which returns a plain Int. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
MessageRecord.fetchOne decodes all columns but the query only selects id, causing "column not found: accountId". Use COUNT(*) which returns a plain Int. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>