chore: format
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
"use strict";
|
||||
const { makeTypedQueryFactory: $mkFactory } = require("../runtime/edge.js");
|
||||
exports.countDistinctRecipientsInTimeRange = /*#__PURE__*/ $mkFactory(
|
||||
'SELECT COUNT(DISTINCT "subscriberId")\nFROM "Message" m\nJOIN "Campaign" c ON m."campaignId" = c.id\nWHERE c."organizationId" = $1\nAND m."createdAt" >= $2\nAND m."createdAt" <= $3;',
|
||||
'SELECT COUNT(DISTINCT "subscriberId")\nFROM "Message" m\nJOIN "Campaign" c ON m."campaignId" = c.id\nWHERE c."organizationId" = $1\nAND m."createdAt" >= $2\nAND m."createdAt" <= $3;',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user