aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Bergeron <paul.d.bergeron@gmail.com>2020-04-16 07:44:20 +0200
committerGitHub <noreply@github.com>2020-04-16 14:44:20 +0900
commit58b2310c978516e574148f9e9379c6edbbc3b660 (patch)
tree5c96677e69d0b4d670a5b43ba428be6ef0fa78fd /README.md
parentUpdate dependencies (diff)
downloadgolite-58b2310c978516e574148f9e9379c6edbbc3b660.tar.gz
golite-58b2310c978516e574148f9e9379c6edbbc3b660.tar.xz
Add extension-functions.c info to README (#779)
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9cd0dd7..7cdad13 100644
--- a/README.md
+++ b/README.md
@@ -453,6 +453,16 @@ If you want your own extension to be listed here or you want to add a reference
Spatialite is available as an extension to SQLite, and can be used in combination with this repository.
For an example see [shaxbee/go-spatialite](https://github.com/shaxbee/go-spatialite).
+## extension-functions.c from SQLite3 Contrib
+
+extension-functions.c is available as an extension to SQLite, and provides the following functions:
+
+- Math: acos, asin, atan, atn2, atan2, acosh, asinh, atanh, difference, degrees, radians, cos, sin, tan, cot, cosh, sinh, tanh, coth, exp, log, log10, power, sign, sqrt, square, ceil, floor, pi.
+- String: replicate, charindex, leftstr, rightstr, ltrim, rtrim, trim, replace, reverse, proper, padl, padr, padc, strfilter.
+- Aggregate: stdev, variance, mode, median, lower_quartile, upper_quartile
+
+For an example see [dinedal/go-sqlite3-extension-functions](https://github.com/dinedal/go-sqlite3-extension-functions).
+
# FAQ
- Getting insert error while query is opened.