@opengis/fastify-table
Version:
core-plugins
45 lines • 1.05 kB
TypeScript
import type { ExtendedPG } from "../../../types/core.js";
export default function gisIRColumn({ pg, layer, column, sql, query, filter, state, search, custom, }: {
pg: ExtendedPG;
layer?: string;
column?: string;
sql?: any;
query?: Record<string, string>;
filter?: string;
state?: string;
search?: string;
custom?: string;
}): Promise<string | {
error: string;
status: number;
message?: undefined;
count?: undefined;
sql?: undefined;
rows?: undefined;
time?: undefined;
} | {
status: number;
message: string;
error?: undefined;
count?: undefined;
sql?: undefined;
rows?: undefined;
time?: undefined;
} | {
count: any;
sql: string | undefined;
rows: any;
error?: undefined;
status?: undefined;
message?: undefined;
time?: undefined;
} | {
time: number;
count: any;
sql: string | undefined;
rows: any;
error?: undefined;
status?: undefined;
message?: undefined;
}>;
//# sourceMappingURL=gisIRColumn.d.ts.map