Add percentile extension

This commit is contained in:
Daniël Sonck
2025-12-09 11:49:51 +01:00
committed by mattn
parent 3c885a9512
commit dce6b34a89
2 changed files with 16 additions and 0 deletions

15
sqlite3_opt_percentile.go Normal file
View File

@@ -0,0 +1,15 @@
// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
// Copyright (C) 2018 G.J.R. Timmer <gjr.timmer@gmail.com>.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
//go:build sqlite_percentile
// +build sqlite_percentile
package sqlite3
/*
#cgo CFLAGS: -DSQLITE_ENABLE_PERCENTILE
*/
import "C"