acs-expression-builder
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i acs-expression-builder

Weekly Downloads

60

Version

0.0.2

License

MIT

Unpacked Size

70.2 kB

Total Files

18

Last publish

Collaborators

  • chuanqisun