Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose argCount and isNull in Function.Args #122

Open
angusholder opened this issue Nov 22, 2019 · 0 comments
Open

Expose argCount and isNull in Function.Args #122

angusholder opened this issue Nov 22, 2019 · 0 comments

Comments

@angusholder
Copy link
Contributor

SQLite allows defining functions to have any number of arguments, by passing in numArgs = -1 when defining the function, then when called asking how many arguments were passed in.

There's also currently no easy way to check if an argument is null if it's an int/long/double, you have to resort to calling getString/getBlob and checking if their result is null.

Do you consider the SQLiteDatabase.Function.Args interface to be stable, or would it be possible to add two new methods to it to expose this functionality?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants