Skip to content

Commit

Permalink
fix: use > instead of >=
Browse files Browse the repository at this point in the history
  • Loading branch information
djMax committed Aug 15, 2024
1 parent d6521c3 commit d6f5de3
Show file tree
Hide file tree
Showing 3 changed files with 239 additions and 335 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@
"coconfig": "@openapi-typescript-infra/coconfig"
},
"optionalDependencies": {
"kysely": "^0.27.3"
"kysely": "^0.27.4"
},
"devDependencies": {
"@openapi-typescript-infra/coconfig": "^4.4.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/github": "^10.0.4",
"@types/node": "^20.12.12",
"@semantic-release/github": "^10.1.5",
"@types/node": "^20.14.15",
"@types/pg": "^8.11.6",
"@types/pg-cursor": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^6.21.0",
Expand All @@ -67,15 +67,15 @@
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"kysely": "^0.27.3",
"kysely": "^0.27.4",
"kysely-codegen": "^0.15.0",
"pg": "^8.11.5",
"pg-cursor": "^2.10.5",
"pg": "^8.12.0",
"pg-cursor": "^2.11.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
"typescript": "^5.5.4",
"vitest": "^2.0.5"
},
"dependencies": {
"@clickhouse/client": "^1.0.1"
"@clickhouse/client": "^1.4.1"
}
}
2 changes: 1 addition & 1 deletion src/dbs/kysely.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export async function syncTable<
// eslint-disable-next-line @typescript-eslint/no-explicit-any
if (bookmark?.rowTimestamp && bookmark?.rowId) {
completeQuery = completeQuery.where((eb) => eb.or([
eb(udColumn, '>=', bookmark.rowTimestamp as TSComplex),
eb(udColumn, '>', bookmark.rowTimestamp as TSComplex),
eb.and([
eb(udColumn, '=', bookmark.rowTimestamp as TSComplex),
eb(pkColumn, '>', bookmark.rowId as TSComplex),
Expand Down
Loading

0 comments on commit d6f5de3

Please sign in to comment.