Skip to content

Commit 2060a78

Browse files
author
Vinayaga Sundar
committed
feat : added option to accept pragma also into libs
1 parent c382f0d commit 2060a78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

debug-db/src/main/java/com/amitshekhar/server/RequestHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private String executeQueryAndGetResponse(String route) {
222222

223223
if (query != null) {
224224
first = query.split(" ")[0].toLowerCase();
225-
if (first.equals("select")) {
225+
if (first.equals("select") || first.equals("pragma")) {
226226
TableDataResponse response = DatabaseHelper.getTableData(mDatabase, query, null);
227227
data = mGson.toJson(response);
228228
} else {

0 commit comments

Comments
 (0)