UNPKG

@wener/miniquery

Version:

SQL Where like **safe** filter expression for ORM.

10 lines (8 loc) 209 B
import { expect, test } from 'vitest'; import { toMiniQueryAST } from './ast'; test('miniquery ast', () => { for (const v of [`a > -1`]) { const ast = toMiniQueryAST(v); expect(ast).toBeTruthy(); } });