Wednesday, December 17, 2014

Re: Any benefit in storing shorter strings or numbers to represent data for a choice char field?

So to answer my own question, you wouldn't use the short version in the db if you plan to do like/contains queries on them. Correct me if I'm wrong.

Unless I plan to use haystack later and index the human readable form later. I think I understand now, thanks 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ca539494-3243-41c0-bd28-23587a28e966%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment