类似运算符的另一种方法,可以在Google云数据存储中的列上进行搜索[重复]

This question already has an answer here:

I am using Go lang with datastore as a database, I have to apply search on the UI table by the backend (i.e BY API). So I went through the documentation and found there is no LIKE OPERATOR is supported in datastore. I also search with regex but this is also not supported.

Still, I want to do it, Please assist with me these guys, I am really needy

// Here ParcelKind is the table name

var name string

name ="s"

q:= datastore.NewQuery(ParcelKind).Filter("Name", name%)
</div>

Try This q:= datastore.NewQuery(ParcelKind).Filter("Name >=", name%)