这就是我想要使用主动查询方法来实现的,我被要求不进行数组迭代,而是使用主动查询方法来实现这一点 def index
@measurements = current_user.measurements.with_units.created_onend` This is the image of the expected JSON i wish to achieve with Active query method和这里是我的测量和单位模型
我在GQL中有以下查询:如何在Golangdatastore.NewQuery("SELECT * FROM Task WHERE Uuid = \"FOOBAR\" ORDER BY CreateTimeMs DESC LIMIT 1")似乎是不正确的。问题是,我希望直接使用GQL,而不是将它们转换为