UNPKG

@clickup/ent-framework

Version:

A PostgreSQL graph-database-alike library with microsharding and row-level security

12 lines 529 B
import type { Literal } from "../../types"; /** * Builds a part of SQL query using ?-placeholders to prevent SQL Injection. * Everywhere where we want to accept a piece of SQL, we should instead accept a * Literal tuple. * * The function converts a Literal tuple [fmt, ...args] into a string, escaping * the args and interpolating them into the format SQL where "?" is a * placeholder for the replacing value. */ export declare function escapeLiteral(literal: Literal): string; //# sourceMappingURL=escapeLiteral.d.ts.map