mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
query
This commit is contained in:
@@ -26,7 +26,7 @@ export class ClientService {
|
|||||||
.createQueryBuilder()
|
.createQueryBuilder()
|
||||||
.update(ClientEntity)
|
.update(ClientEntity)
|
||||||
.set({ deletedAt: () => "DATETIME('now')" })
|
.set({ deletedAt: () => "DATETIME('now')" })
|
||||||
.where("deletedAt IS NULL AND updatedAt < :fiveMinutes", { fiveMinutes })
|
.where("deletedAt IS NULL AND updatedAt < DATETIME(:fiveMinutes)", { fiveMinutes })
|
||||||
.execute();
|
.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user