Skip to content

Commit

Permalink
Hard coded reading DB data from TODO app into the DB editor
Browse files Browse the repository at this point in the history
  • Loading branch information
yazz committed Dec 25, 2023
1 parent 59e910e commit 649b91b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ function component( args ) {
base_component_id("sqlite_app_editor_component_v2")
component_type("SYSTEM")
load_once_from_file(true)
use_db("todo")
*/

Yazz.component( {
Expand Down Expand Up @@ -755,7 +756,7 @@ load_once_from_file(true)
// here we need to get the data from the database
//mm.data_rows = [{id: 1},{id: 2}] //sql("select id,name from items")
debugger
//mm.data_rows = sql("select id,name from items")
mm.data_rows = sql("select id,name from items")
mm.pane_home_tabulator.setData(mm.data_rows)
}
},100)
Expand Down

0 comments on commit 649b91b

Please sign in to comment.