-
Notifications
You must be signed in to change notification settings - Fork 131
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
Feature Proposal: SqliteList #155
Comments
I have same idea, after I think about this idea twice it's not as simple as it looks, how do you implement a List over sql database? definitely involve save additional information to work row as doubly linked list data structure which might hurt performance, left my 2 cents here I might implement a simple one for fun. |
Hi, We are at 6 cents so far :) |
One can write a list-like wrapper around the sqlitedict, as a stopgap until this is implemented as a feature. Here is what I did https://github.com/za3k/day29_adventure/blob/master/base.py#L18 . It's definitely not perfect performance-wise, just an example. |
Why not put the lists in their own table according to standard database normalization? |
Hello,
I am a happy user of the SqliteDict. Thanks for making it!
I would like to store a list as a table in the same sql file.
At the moment, in order to use the same sql file, I am storing the list as a value inside a dict.
This is highly inefficient since to add an element, I rewrite the whole list to sql.
I think it would be a pretty useful feature.
Just my 2 cents :)
The text was updated successfully, but these errors were encountered: