Typescript 使用angularfirestore获取字符串值以外的记录

Typescript 使用angularfirestore获取字符串值以外的记录,typescript,firebase,google-cloud-firestore,angularfire,Typescript,Firebase,Google Cloud Firestore,Angularfire,我需要构建一个字段值与字符串值不同的查询 我查看了文档,不明白如何在值不同的地方进行查询 使用angularfirestore,我无法按如下方式预约: this.db.collection('schedules').doc(id) .collection('values', ref => ref.where('status', '!==', 'cancel'); 我需要获取状态与取消不同的所有记录。在政府图书馆中查找文档 基本上,您必须遵循以下示

我需要构建一个字段值与字符串值不同的查询

我查看了文档,不明白如何在值不同的地方进行查询

使用angularfirestore,我无法按如下方式预约:

    this.db.collection('schedules').doc(id)
        .collection('values', ref => 
        ref.where('status', '!==', 'cancel');

我需要获取状态与取消不同的所有记录。

在政府图书馆中查找文档

基本上,您必须遵循以下示例:

db.collection ('items', ref => ref.where ('size', '==', 'large'))

这回答了你的问题吗?