4 ms·
In EdgeQL, expressions are element-wise functions over the cross-product of the input sets: edgedb> SELECT {'First', 'Second'} ++ '!'; {'First!', 'Seco
by RedCrowbar 7y ago
In EdgeQL, expressions are element-wise functions over the cross-product of the input sets:
edgedb> SELECT {'First', 'Second'} ++ '!';
{'First!', 'Second!'}
EdgeQL queries are essentially set comprehensions.
- tathougies 7y agoRight, so SELECT Table1 and SELECT 1 compose to SELECT Table1, 1 in the same way that SELECT 1 and SELECT * FROM TABLE1 and SELECT 1 compose to > SELECT * FROM TABLE1, (SELECT 1) Aside from the different syntax, it is the same kind of composition. Not sure what EdgeQL has gained here, then.
- theclaw 7y agoErm, isn’t the syntax the whole point of this discussion?