python - Can flask _sqlalchemy use Chinese as an index condition?
仅有的幸福
仅有的幸福 2017-06-06 09:51:49
0
2
725

fask_sqlalchemy Can Chinese be used as the index condition? Is this reasonable?

仅有的幸福
仅有的幸福

reply all(2)
某草草

In fact, it is possible, but it is not recommended because it consumes more resources.

習慣沉默

fask_sqlalchemy "When it comes to text, it is completely based on Unicode." Therefore, fask_sqlalchemy can use Chinese as the index condition, if the Chinese text is based on Unicode. In terms of consistency and completeness of data processing, it is desirable to use Unicode-based Chinese text as the index condition. As for the efficiency of data processing, there is no conclusion without practical operation, but if you are doing text keyword extraction index, using Unicode Chinese as the Primary Key or Index is necessary for the consistency and integrity of data processing, and I guess efficiency It will be faster than going around in circles without using Unicode Text.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template