Skip to content

Commit

Permalink
feat: sort emails on order
Browse files Browse the repository at this point in the history
  • Loading branch information
vwh committed Nov 22, 2024
1 parent b488743 commit 369197f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/database/statements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const SQL_STATEMENTS = {
FROM Email
JOIN Inbox ON Email.id = Inbox.emailId
WHERE Inbox.address = ?
ORDER BY Email.createdAt DESC
`,

GET_INBOX_BY_ID: `
Expand Down

0 comments on commit 369197f

Please sign in to comment.