@mwater/expressions
TypeScript icon, indicating that this package has built-in type declarations

2.51.0 • Public • Published

Expressions

Defines a language for expressions that return a value for a single row of a table. Also gives a React-based UI for editing expressions.

Complex expressions involving joins, arithmetic or case statements can be created visually and then compiled to SQL or interpreted.

See the docs for more information.

To add a new expression

  1. Add tests in ExprCompilerTests
  2. Add tests in testExprs
  3. Add the expression in ExprUtils
  4. Update ExprCompiler
  5. Update ExprEvaluator
  6. Make tests pass

Readme

Keywords

none

Package Sidebar

Install

npm i @mwater/expressions

Weekly Downloads

77

Version

2.51.0

License

LGPL-3.0

Unpacked Size

814 kB

Total Files

71

Last publish

Collaborators

  • autio
  • grassick