mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
column names
This commit is contained in:
@@ -22,8 +22,8 @@ export class ClientStatisticsService {
|
|||||||
await this.dataSource.transaction(async (entityManager) => {
|
await this.dataSource.transaction(async (entityManager) => {
|
||||||
const query = `
|
const query = `
|
||||||
UPDATE client_statistics_entity
|
UPDATE client_statistics_entity
|
||||||
SET shares = shares + $1, accepted_count = accepted_count + 1
|
SET shares = shares + $1, "acceptedCount" = "acceptedCount" + 1
|
||||||
WHERE address = $2 AND client_name = $3 AND session_id = $4 AND time = $5
|
WHERE address = $2 AND "clientName" = $3 AND "sessionId" = $4 AND time = $5
|
||||||
RETURNING *;`;
|
RETURNING *;`;
|
||||||
|
|
||||||
const parameters = [
|
const parameters = [
|
||||||
|
|||||||
Reference in New Issue
Block a user