SQLite Forum

Functions in Precompiled Binaries for Android
Login
Are there any plans to improve function support for return values and non string arguments?

[https://sqlite.org/android/file?name=sqlite3/src/main/jni/sqlite/android_database_SQLiteConnection.cpp&ln=250|android_database_SQLiteConnection.cpp contains a TODO] to support functions that return values.

Would like to return values (double, integer, null) from custom functions directly from the precompiled binaries.

Would also like to access an argument value directly as a blob instead of pre-decoded string.

Something similar to the [https://github.com/xerial/sqlite-jdbc/blob/master/src/main/java/org/sqlite/Function.java|xerial sqlite-jdbc Function implementation] with example usage [https://github.com/ngageoint/geopackage-java/blob/f2464596db1a33f700c51ae49c9491b3ceb3d870/src/main/java/mil/nga/geopackage/extension/rtree/GeometryFunction.java#L38|here].