UNPKG

@ydbjs/query

Version:

High-level, type-safe YQL query and transaction client for YDB. Supports tagged template syntax, parameter binding, transactions, and statistics.

15 lines 537 B
import { type Value } from "@ydbjs/value"; declare const SymbolUnsafe: unique symbol; export declare class UnsafeString extends String { [SymbolUnsafe]: boolean; } export declare function yql<P extends any[] = unknown[]>(strings: string | TemplateStringsArray, ...values: P): { text: string; params: Record<string, Value>; }; export declare function unsafe(value: string | { toString(): string; }): UnsafeString; export declare function identifier(path: string): UnsafeString; export {}; //# sourceMappingURL=yql.d.ts.map