Skip to content

Commit

Permalink
chore: update node types, added missing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vwh committed Jan 3, 2025
1 parent fbba47e commit e991683
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@types/better-sqlite3": "^7.6.12",
"@types/bun": "latest",
"@types/msgpack-lite": "^0.1.11",
"@types/node": "^22.10.2",
"@types/node": "^22.10.5",
"semantic-release": "^24.2.0",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
Expand Down
1 change: 1 addition & 0 deletions src/statements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const SQL_STATEMENTS = {
// Returns all keys that match the given pattern with pagination
PAGINATION: "SELECT key FROM miftahDB WHERE key LIKE ? LIMIT ? OFFSET ?",

// Returns an array of keys that have expired between the given start and end dates
GET_EXPIRED_RANGE:
"SELECT key FROM miftahDB WHERE key LIKE ? AND expires_at >= ? AND expires_at <= ?",

Expand Down

0 comments on commit e991683

Please sign in to comment.