开发者

What characters in key_name?

开发者 https://www.devze.com 2023-01-10 16:30 出处:网络
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.

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消