Christian Himpe

Results 151 comments of Christian Himpe

No, unfortunately not yet.

Reproduced, using: ``` CREATE VERTEX TYPE Invoice; CREATE PROPERTY Invoice.seqid INTEGER; ```

Here is a workaround: ``` LET $maxid = SELECT 1 + max(seqid) AS id FROM Invoice; LET $invoice = INSERT INTO Invoice SET seqid = $maxid.id[0]; RETURN $invoice; ``` Nonetheless,...

This seems to reproduce the problem minimally: ``` let maxid = SELECT max(seqid) FROM Invoice; return $maxid.asString() ```

Can you please provide a minimal example of code to reproduce this?

A related missing feature in the above code is also that `CREATE EDGE $edgetype FROM $source TO $ target` does not allow variable (string) edge-type names.

Additionally, once this error occurs other function definition are prevented due to the former error.

Until fixed, converting AND to OR, `A && B` becomes `!(!A || !B)` could be a workaround, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_AND#converting_and_to_or