acs-expression-builder
v0.0.2
Published
An OData Filter Expression Builder for Azure Cognitive Search.
Downloads
10
Readme
ACS Expression Builder
An OData Filter Expression Builder for Azure Cognitive Search.
Supports
Get started
npm i acs-expression-builder
import { field, ifAny } from "acs-expression-builder";
const exp = field("foo").any((item) => ifAny([item().eq("x"), item().eq("y")]));
console.log(exp); // foo/any(i: i eq 'x' or i eq 'y')
Documentation
This project uses test specs as documentation