mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-03-27 02:02:10 +01:00
query
This commit is contained in:
parent
62f528d55f
commit
0fcb2ec070
@ -26,7 +26,7 @@ export class ClientService {
|
||||
.createQueryBuilder()
|
||||
.update(ClientEntity)
|
||||
.set({ deletedAt: () => "DATETIME('now')" })
|
||||
.where("deletedAt IS NULL AND updatedAt < :fiveMinutes", { fiveMinutes })
|
||||
.where("deletedAt IS NULL AND updatedAt < DATETIME(:fiveMinutes)", { fiveMinutes })
|
||||
.execute();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user