UNPKG

@clickup/ent-framework

Version:

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

7 lines (6 loc) 196 B
/** * Escapes a boolean as PG string literal. */ export function escapeBoolean(v: boolean | null | undefined): string { return v === null || v === undefined ? "NULL" : v ? "true" : "false"; }