Skip to content

Commit

Permalink
fix build query insert with onDuplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
apeng-singlestore committed Sep 4, 2024
1 parent f414f22 commit de01804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-tests/tests/singlestore/singlestore-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ export function tests(driver?: string) {
expect(query).toEqual({
sql:
'insert into `userstest` (`id`, `name`, `verified`, `jsonb`, `created_at`) values (?, ?, default, ?, default) on duplicate key update `id` = ?, `name` = ?',
params: ['John', '["foo","bar"]', 'John1'],
params: [1, 'John', '["foo","bar"]', 1, 'John1'],
});
});

Expand Down

0 comments on commit de01804

Please sign in to comment.