From d0ea209dd4c8b20b4e8c25ab1ed3a50601e53c5f Mon Sep 17 00:00:00 2001 From: venkataakhil Date: Tue, 25 Apr 2023 19:47:10 +0530 Subject: [PATCH] get star data with no space --- smart_service/apis/master_api.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/smart_service/apis/master_api.py b/smart_service/apis/master_api.py index 93a66e2..502bdbf 100644 --- a/smart_service/apis/master_api.py +++ b/smart_service/apis/master_api.py @@ -567,3 +567,9 @@ def change_single_star_data(): except: pass return content_file + + +def get_single_star_data(): + count = frappe.db.sql(''' + select count(*) from tabProcedure_Details where content like "%*%";''', as_dict=1) + print(count) \ No newline at end of file