1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-20 22:16:52 +00:00

Remove debugging code

This commit is contained in:
Jeremy Ruston 2024-01-05 11:08:33 +00:00
parent 8543dda4aa
commit 3f1f7c7ef7

View File

@ -143,11 +143,6 @@ SqlTiddlerStore.prototype.createRecipe = function(recipename,bagnames) {
`,{ `,{
recipe_name: recipename recipe_name: recipename
}); });
console.log(this.runStatementGetAll(`
SELECT * FROM json_each($bag_names) AS bag
`,{
bag_names: JSON.stringify(bagnames)
}));
this.runStatement(` this.runStatement(`
INSERT INTO recipe_bags (recipe_id, bag_id, position) INSERT INTO recipe_bags (recipe_id, bag_id, position)
SELECT r.recipe_id, b.bag_id, j.key as position SELECT r.recipe_id, b.bag_id, j.key as position