简体   繁体   中英

How to query data from GAE datastore with the value escaped?

I have a entity saved in the DB with the property "Name" using value "Test".

I want to know, how to get this entity with a query with the value being lowercase.

This is the query to execute: query = "Name == test"

您需要添加一个新的索引属性,例如,name_lowercase仅具有更改(小写)的值。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM