Internal API tweaks.

This commit is contained in:
Nuno Cruces
2024-06-06 00:09:14 +01:00
parent 9b769d94d0
commit 8fd878afd6
10 changed files with 51 additions and 38 deletions

View File

@@ -46,6 +46,13 @@ https://sqlite.org/lang_aggfunc.html
https://sqlite.org/windowfunctions.html#builtins
## Boolean aggregates
- [ ] `ALL(boolean)`
- [ ] `ANY(boolean)`
- [ ] `EVERY(boolean)`
- [ ] `SOME(boolean)`
## Additional aggregates
- [X] `MEDIAN(expression)`

View File

@@ -22,9 +22,9 @@ func newQuantile(kind int) func() sqlite3.AggregateFunction {
}
type quantile struct {
kind int
nums []float64
arg1 []byte
kind int
}
func (q *quantile) Step(ctx sqlite3.Context, arg ...sqlite3.Value) {