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">Cara yang lebih mudah untuk query database dengan Tasker, sekarang dengan kemampuan untuk membuat database Anda sendiri! Tidak perlu berburu untuk biner SQLite yang kompatibel dengan ponsel Anda. Cukup tambahkan langkah Tasker SQLite Plugin untuk tugas Tasker, masukan path ke database dan pernyataan sql Anda, dan jalankan.
========== Variabel Kembali ==========
Untuk laporan INSERT dengan kolom yang ditentukan yaitu INSERT INTO tTableName (colX, Coly) VALUES (valX, Valy):
% Dbrowid = baris id dari baris baru dimasukkan
Untuk statments SELECT:
% Dbreturn = output dari pernyataan sql dalam cara yang sama seperti sqlite biner (kolom dipisahkan oleh pipa dan baris dipisahkan dengan baris baru) sehingga dapat menjatuhkan tanpa perubahan lain untuk tugas-tugas SQLite yang ada.
% Dbreturncount = jumlah baris kembali
% Dbrows () = array baris sehingga Anda tidak harus membagi% dbreturn oleh karakter baris baru
% Db [column_name_lower_case] () = array nilai untuk setiap kolom (ganti [column_name_lower_case] dengan nama sebenarnya dari kolom)
Aplikasi ini saat ini dalam versi beta. Silakan laporkan masalah melalui email.
Akar diperlukan untuk mengakses database aplikasi lain.</div> <div class="show-more-end">