edgedb-js icon indicating copy to clipboard operation
edgedb-js copied to clipboard

Math functions are broken in query builder

Open MicroDroid opened this issue 2 years ago • 0 comments

Code The code causing the error.

e.math.abs(e.op(1, '*', 2))

Schema

Your application schema.

module default {}

Generated EdgeQL

N/A

Error or desired behavior

No function overload found for 'e.abs()' with args: [object Object]

Versions (please complete the following information):

  • OS: Arch Linux
  • EdgeDB version (e.g. 2.0): 2.12 i think
  • EdgeDB CLI version (e.g. 2.0): 3+ i think
  • edgedb-js version (e.g. 0.20.10;): 1.3.0
  • @edgedb/generate version (e.g. 0.0.7;): 0.2.0
  • Typescript version: 5+ i think
  • Node/Deno version: 18 i think

MicroDroid avatar Jun 21 '23 08:06 MicroDroid