@n8n-plus/n8n-plus
Version:
n8n Workflow Automation Tool (plus edition)
14 lines (13 loc) • 521 B
TypeScript
import type { DatabaseConfig } from '@n8n/config';
import { DateTime } from 'luxon';
export declare const getDateRangesCommonTableExpressionQuery: ({ startDate, endDate, dbType, }: {
startDate: Date;
endDate: Date;
dbType: DatabaseConfig["type"];
}) => string;
export declare function getDateRangesSelectQuery({ dbType, prevStartDateTime, startDateTime, endDateTime, }: {
dbType: DatabaseConfig['type'];
prevStartDateTime: DateTime;
startDateTime: DateTime;
endDateTime: DateTime;
}): string;