nukak
Version:
flexible and efficient ORM, with declarative JSON syntax and smart type-safety
9 lines (8 loc) • 315 B
TypeScript
import { QueryRawFn, Scalar } from '../type/index.js';
/**
* Allow using any raw value that shouldn't be automatically escaped by the ORM.
* @param value the raw value
* @param alias optional alias
* @returns a QueryRaw instance
*/
export declare function raw(value: Scalar | QueryRawFn, alias?: string): any;