Does loopback support sqlite?
Hello,
I am new to loopback, just would like to know if it supports sqlite?
Thanks!
Best regards, Jason
See if https://www.npmjs.com/package/loopback-connector-sqlite3 suites your needs.
Thx a lot for help. Looks like the last publish is 2 years ago, still good enough for now? Seems no official support? Thx again!
You're right in that there is no official support as it's a community module. I've never used it myself so can't speak if it's good or not but it's worth a shot.
@xeoshow, on another note, since you're starting out with LoopBack, have you considered LoopBack 4? It's rewrite of the current version of LoopBack in TypeScript with better flexibility and extensibility capabilities.
Here are some references: https://github.com/strongloop/loopback-next http://v4.loopback.io/
@virkt25 Thank you so much! I will have a try and report back. @dhmlau Thanks for help! So, does LoopBack 4 support sqlite3 out of the box? The preivous sqlite modules still should work on LoopBack 4 ? Thanks again!
If this module (https://www.npmjs.com/package/loopback-connector-sqlite3) @virkt25 mentioned is working in LoopBack 3, it will be working in LoopBack 4.
@xeoshow , I'd like to close this issue as question answered. If you have further issues or questions, feel free to open a new ticket. Thanks.
Is sqlite connector really works? I'm still stuck while making out the electron build. Please let me know if it really works with loopback3 or 4, I am comfortable with both versions.
The sqlite connector is built by the community, you might want to ask in that repo: https://github.com/strongloop-community/loopback-connector-sqlite3.
Already dropped my concern for https://github.com/strongloop-community/loopback-connector-sqlite3/issues/40 . Please let me know if anybody have the solution or I have to write wrapper for sqlite.
The sqlite connector is built by the community
@dhmlau But according to the docs here and here, it is not exactly a community connector, is it?
officially-supported database connectors
the official SQLite3 connector module
According to the issue linked above by shubhddn01, the connector has been broken for more than 5 years without a fix.