UNPKG

@tricoteuses/senat

Version:

Handle French Sénat's open data

10 lines (9 loc) 1.11 kB
import { Expression } from "kysely"; export declare function concat(...exprs: Expression<number | string | null | undefined>[]): import("kysely").RawBuilder<string>; export declare function expandToRows(expr: Expression<string | null | undefined>, regexp: Expression<string>): import("kysely").RawBuilder<unknown>; export declare function nullIf(expr: Expression<number | string | null | undefined>): import("kysely").RawBuilder<unknown>; export declare function removeSubstring(expr: Expression<string | null | undefined>, pattern: Expression<string>): import("kysely").RawBuilder<string>; export declare function replace(expr: Expression<string | null | undefined>, pattern: Expression<string>, replacement: Expression<string>): import("kysely").RawBuilder<string>; export declare function rtrim(expr: Expression<string | null | undefined>): import("kysely").RawBuilder<string>; export declare function toDateString(expr: Expression<Date | null | undefined>, format?: Expression<string>): import("kysely").RawBuilder<string>; export declare function toCRDate(dateISO: string, startTime?: string | null): string;