The easier way to query databases with Tasker, now with the ability to create your own databases! No need to hunt for a SQLite binary that is compatible with your phone. Simply add the Tasker SQLite Plugin step to a Tasker task, input the path to the database and your sql statement, and execute.
========== Return Variables ==========
For INSERT statements with columns specified i.e. INSERT INTO tTableName(colX, colY) VALUES (valX, valY):
%dbrowid = the row id of the newly inserted row
For SELECT statments:
%dbreturn = the output of the sql statement in the same way as the sqlite binary (columns separated by pipes and rows separated by new lines) so it can be dropped in without any other changes to existing SQLite tasks.
%dbreturncount = the number of rows returned
%dbrows() = an array of rows so you don't have to split %dbreturn by the new line character
%db[column_name_lower_case]() = an array of values for each column (replace [column_name_lower_case] with the actual name of the column)
This app is currently in beta. Please report any issues via email.
Root is required to access other app's databases.
</br></br></br></br>
</br></br>