SQLite的Andr​​oid的数学函数 [英] sqlite android math functions

查看:161
本文介绍了SQLite的Andr​​oid的数学函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我NEAD以打造专业化SQLite中查询了一个Android应用程序,我读了它不可能在查询中使用的数学函数,还有的没有办法做到像负载分机或类似的东西。

I nead to buid a query in SQLite for an android app I read that It's not possible to use math functions in the query, there 's any way to do it like load an extension or something similar.

任何answear是惠康,在此先感谢。

any answear is wellcome, thanks in advance.

推荐答案

SQLite的本身允许添加用户-defined功能的,但这不是在Android API中露出。

SQLite itself allows to add user-defined functions, but this is not exposed in the Android API.

您不得不使用NDK:<一href=\"http://stackoverflow.com/questions/7867099/how-to-create-a-user-defined-function-in-sqlite\">how SQLite中创建用户定义的函数?

You'd have to use the NDK: how to create a user defined function in SQLITE?

这篇关于SQLite的Andr​​oid的数学函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆