Palette, Javascript and SQLite table ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is more a conceptualisation question than directly a question about specific code.
It is my understanding (but please tell me if I am wrong) that Javascript cannot directly connect to a local SQLite database. But Python can. So it looks like, if I want to have CRUD operations on a database table from a palette, I would need to have the plugin doing the work and send data to the palette, for display. Obviously buttons on the palette would trigger plugin/python events.
I believe I should be able to do this, BUT I would like to hide the plugin, so that it would looks like everything is done through the palette. Is that possible ? Any other/better idea ?
If there is anything inaccurate in my assumptions above, please let me know !
Thank you, and best regards,
Bernard