开发者

What characters in key_name?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜