Re: Best way to store key,value pairs
Peter da Silva <[email protected]>
| Newsgroups | gmane.comp.db.sqlite.general |
|---|---|
| Message-ID | <CAMbH6s8xDq=ZyOL08Mqr0aDb716kTUp0cvdE7j-ez9N_8u3NAQ@mail.gmail.com> |
Another thing to consider is that RFC-822/1036 (et seq) headers are not inherently unique and some are repeated, especially since there's software that treats Usenet and Mail headers interchangeably. Also, debugging may require being able to see the exact layout of the headers as received. The safest solution is to add columns for the specific instances of the specific headers that you need to index, and then store the original headers unchanged as a blob or a big text column. Converting to json and back without potentially losing data (even if you don't think you will need that data) takes some care. _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users