Files
home/Projects/kompose/news/apps/backend/prisma/client/sql/subscriberGrowthQuery.js

8 lines
478 B
JavaScript
Raw Normal View History

2025-10-08 10:35:48 +02:00
/* !!! This is code generated by Prisma. Do not edit directly. !!!
/* eslint-disable */
"use strict";
const { makeTypedQueryFactory: $mkFactory } = require("../runtime/library");
exports.subscriberGrowthQuery = /*#__PURE__*/ $mkFactory(
2025-10-10 16:43:21 +02:00
'SELECT\nDATE_TRUNC(\'day\', "createdAt") as date,\nCOUNT(*) as count\nFROM "public"."Subscriber"\nWHERE "organizationId" = $1\nAND "createdAt" >= $2\nAND "createdAt" <= $3\nGROUP BY DATE_TRUNC(\'day\', "createdAt")\nORDER BY date ASC',
2025-10-08 10:35:48 +02:00
);