my usecase is not need to support all operations, I only want to allow lightweight operation
Example:
- Disable SCAN ALL functions: COUNT(*), MIN, MAX, ...
- Maybe force
LIMIT <n>
- Disable join
- ...
How I can do it? is there any prehook call for self validate query?