Skip to content

Commit

Permalink
trying to debug more SQL statements
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Nov 27, 2024
1 parent 8e0dac9 commit 36ab635
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/go.html
Original file line number Diff line number Diff line change
Expand Up @@ -14396,7 +14396,8 @@ <h1 style='width:100%;vertical-align:top;display:inline-block;font-size:100px; t
for (let thisApp of responseJson) {
let alreadyExists = yz.uiDb.sqlui("select * from ui_table_appstore_apps where content_hash = ?", [thisApp.content_hash])
if (alreadyExists.length == 0) {
yz.uiDb.sqlui( "insert into ui_table_appstore_apps ( old_id, content_hash , base_component_id, logo, display_name,component_type) values (?,?,?,?,?,?)",
yz.uiDb.sqluiDebug("hgdfsgjhksdfghjkdsfgdfjskhgnfuybgfeiurybrgeruyigferuiyigfueirgueirwygyuieriur",
"insert into ui_table_appstore_apps ( old_id, content_hash , base_component_id, logo, display_name,component_type) values (?,?,?,?,?,?)",
[thisApp.base_component_id, thisApp.content_hash,thisApp.base_component_id,thisApp.logo, thisApp.display_name, thisApp.component_type])
}
}
Expand Down

0 comments on commit 36ab635

Please sign in to comment.