【发布时间】:2018-09-05 08:05:04
【问题描述】:
种类名称:invoice_header
Name/ID :id=4829628648652800
amount :2900
booking_ids :1,2
created_at :2018-09-04 10:20:30
discount_amount :23
due_amount :9999
indicator :PO
invoice_date :2018-09-04
invoice_id :451
issued_to :P
location_id :12
net_payable_amount :999
order_or_po_id :533
paid_amount :555
partner_id :400
payment_mode_promotion_amount :0
status :NP
tax_amount :34
updated_at :
我尝试使用以下 GQL 查询从上述类型中获取数据,但出现以下错误。
GQL 查询错误:您的数据存储区没有复合索引 此查询需要(开发人员提供)。
select invoice_date from invoice_header where location_id ='12' and invoice_date >= '2018-09-01' and invoice_date <= '2018-09-05'
【问题讨论】:
标签: google-cloud-platform google-cloud-datastore