I am trying to create a desktop applictaion using electron and ionic2.I want to use sqlite in my application.How to implement that? can i use cordova sqlite in an electron desktop appliation?
No, the cordova sqlite plugin is not supported in an electron env.
A better option instead of sqlite would be to use indexDB instead, which is supported in electron and cordova.
This is what
@ionic/storage is for.