lbadd
lbadd copied to clipboard
engine: implement builtin functions
The most basic builtin functions should be implemented. These are the following.
- [x]
RANDOM
- [ ]
COUNT
- [ ]
UCASE
- [ ]
LCASE
- [x]
NOW
- [ ]
MIN
- [ ]
MAX
Every single one needs extensive testing, as well as benchmarks (no optimization, just benchmarks). They also need very detailed documentation on how they work and what they do exactly.
For a builtin function to be considered "implemented", there needs to be an e2e test in internal/test
(in addition to required unit tests). See #187 for an example of an e2e test.