您的主要问题的答案是“否”,因为[] byte存储为blob,但App Engine数据存储区未对其进行索引。
queries with a filter or sort order on the unindexed property will never match that entity.Note: In addition to any unindexed properties you declare explicitly, those typed as []byte are automatically treated as unindexed.
以下是文档:https
:
//developers.google.com/appengine/docs/go/datastore/indexes#Go_Unindexed_properties


![Golang-具有[]字节比较的Appengine数据存储区过滤器查询 Golang-具有[]字节比较的Appengine数据存储区过滤器查询](http://www.mshxw.com/aiimages/31/484373.png)
