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.
</div> <div jsname="WJz9Hc" style="display:none">Il modo più semplice per interrogare i database con Tasker, ora con la possibilità di creare le proprie basi di dati! Non c'è bisogno di caccia per un binario SQLite che è compatibile con il telefono. Basta aggiungere il passo Tasker SQLite Plugin per un compito Tasker, immettere il percorso del database e l'istruzione SQL, ed eseguire.
========== variabili restituiscono ==========
Per istruzioni INSERT con colonne specificato cioè INSERT INTO tTableName (colX, Coly) VALORI (Valx, valy):
% Dbrowid = la riga id della riga appena inserita
Per statments SELECT:
% Dbreturn = l'uscita della dichiarazione di sql nello stesso modo come i SQLite binarie (colonne separate da tubi e righe separate da nuove linee) in modo che possa essere eliminato in senza altre modifiche alle attività SQLite esistenti.
% Dbreturncount = il numero di righe restituite
% dbrows () = una matrice di righe in modo da non dover dividere% dbreturn dal carattere di nuova riga
% Db [column_name_lower_case] () = una matrice di valori per ogni colonna (sostituire [column_name_lower_case] con il nome effettivo della colonna)
Questa applicazione è attualmente in beta. Si prega di segnalare eventuali problemi via e-mail.
Root è necessario per accedere a database di altre app.</div> <div class="show-more-end">