(id: string)
| 163 | } |
| 164 | |
| 165 | export async function findMessageById(id: string) { |
| 166 | return db |
| 167 | .select() |
| 168 | .from(dbMessages) |
| 169 | .where(eq(dbMessages.id, id)) |
| 170 | .then((x) => x.at(0)); |
| 171 | } |
| 172 | |
| 173 | export async function findMessageByIdWithDiscordAccount(id: string) { |
| 174 | return dbReplica.query.dbMessages |
no outgoing calls
no test coverage detected