Best practice when storing data?
#1
In my addon I want to store favorite searches containing search term, category and service. What is the best way to store this data?
All I can think of is a sqlite3 database but are there any other options?
Any implementations using sqlite3 you recommend me to take a look at?

Cheers!
Pneumatic | SABnzbd | XBMC that just works - openelec
Reply
#2
If you intend to store huge amount of data and need quick access to it, then sqlite3 is the best option.

Otherwise, if you can store the data using python's built-in types (list, dicts, etc) then take at look at the pickle module.
Reply
#3
Thanks for the info. Using the build in types, I guess there are some caveats with writing list to files...
Pneumatic | SABnzbd | XBMC that just works - openelec
Reply

Logout Mark Read Team Forum Stats Members Help
Best practice when storing data?0