loopback icon indicating copy to clipboard operation
loopback copied to clipboard

Does loopback support sqlite?

Open xeoshow opened this issue 8 years ago • 11 comments

Hello,

I am new to loopback, just would like to know if it supports sqlite?

Thanks!

Best regards, Jason

xeoshow avatar Aug 19 '18 05:08 xeoshow

See if https://www.npmjs.com/package/loopback-connector-sqlite3 suites your needs.

virkt25 avatar Aug 20 '18 14:08 virkt25

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!

xeoshow avatar Aug 20 '18 14:08 xeoshow

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.

virkt25 avatar Aug 20 '18 14:08 virkt25

@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/

dhmlau avatar Aug 20 '18 17:08 dhmlau

@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!

xeoshow avatar Aug 21 '18 05:08 xeoshow

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.

dhmlau avatar Aug 21 '18 12:08 dhmlau

@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.

dhmlau avatar Aug 25 '18 13:08 dhmlau

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.

shubhddn01 avatar Oct 01 '20 07:10 shubhddn01

The sqlite connector is built by the community, you might want to ask in that repo: https://github.com/strongloop-community/loopback-connector-sqlite3.

dhmlau avatar Oct 01 '20 19:10 dhmlau

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.

shubhddn01 avatar Oct 01 '20 20:10 shubhddn01

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.

zypA13510 avatar May 20 '24 10:05 zypA13510