‘Table’ object is not callable
Fix Svelte error: TypeError: ‘Table’ object is not callable.
Try instead of the usual entry to use .insert (). values ()… For example:
add_category = categories.insert()…values(
task_id=new…id, cat_id=category_exist.id, time=datetime…now()
)
db.session…execute(add_category)