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