I wonder what you can use as a key_name? I do a lot of queries on non-ascii unicode characters, I wonder if I can use these as开发者_开发技巧 key names to speed up the queries.
Thanks!
Per the documentation, key_name is a unicode string, though plain str
values get converted as ASCII -- so you'll want to make sure you're actually providing a true unicode string (I strongly suggest reading the entire Python Unicode HOWTO).
精彩评论