-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
SQLite save support? #4656
Comments
It was removed because it added a lot of complexity supporting multiple database backends - while queries are mostly interchangeable, connection, pooling, etc is not, especially since SQLite is embedded. However, for our use case, SQLite nowadays is an excellent choice and moving to it could be considered. It needs better tools, but performance and features is on par or even better than MySQL/MariaDB/PgSQL, and it's much easier to write tests for since you can create a database in-memory on the fly |
If we only used ORM or at least query builder abstracting database support |
IDK what they changed in SQLite database 'idea' since 2010, but isn't it like '1 file on HDD to store all data with SQL access'? File is 100% managed by database driver of your app. Moving MySQL integration and all SQL queries to some interface - like ORM - would be great.
ORMs and query builders are great.. and then you try to make SQL query from Lua :( |
@gesior you're right about that, SQLite is not suitable for multiple clients. Unless we make the server also act as a database server, with some public APIs, it is not feasible to pair with an AAC. |
Explanation of what you want to do that is currently impossible
IIRC many years ago (2010 maybe?) SQLite was supported, seems it no longer is?
Desired functionality
run SQLite instead of MySQL
Available workarounds
run MySQL
Prior art
The text was updated successfully, but these errors were encountered: