Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loki.js vs sqlite #148

Open
hjyssg opened this issue Dec 25, 2020 · 1 comment
Open

loki.js vs sqlite #148

hjyssg opened this issue Dec 25, 2020 · 1 comment
Labels

Comments

@hjyssg
Copy link
Owner

hjyssg commented Dec 25, 2020

sqlite

  • 用户数更多,无需担心会不会长期维护
  • non-blocking执行
  • 文档齐全
  • 有group by等各种好用的sql函数
  • 上手难度不低
  • 写出来代码比lokijs少一半

loki.js

  • blocking执行
  • 文档很少
  • 没有sql函数
  • 上手难度特别低 当数据结构使用 <--
  • pkg打包很容易
@hjyssg hjyssg added the note label Dec 25, 2020
@hjyssg
Copy link
Owner Author

hjyssg commented Dec 25, 2020

Error: SQLITE_RANGE: column index out of range

参数和实际column对不上

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant