@@ -911,7 +911,7 @@ describe('Serializer', () => {
911
911
const result = s . toTarget ( wrapQueryData ( q ) ) ;
912
912
expect ( result ) . to . deep . equal ( {
913
913
query : {
914
- parent : 'projects/p/databases/d' ,
914
+ parent : 'projects/p/databases/d/documents ' ,
915
915
structuredQuery : {
916
916
from : [ { collectionId : 'messages' } ] ,
917
917
orderBy : [
@@ -954,7 +954,7 @@ describe('Serializer', () => {
954
954
const result = s . toTarget ( wrapQueryData ( q ) ) ;
955
955
const expected = {
956
956
query : {
957
- parent : 'projects/p/databases/d' ,
957
+ parent : 'projects/p/databases/d/documents ' ,
958
958
structuredQuery : {
959
959
from : [ { collectionId : 'docs' } ] ,
960
960
where : {
@@ -992,7 +992,7 @@ describe('Serializer', () => {
992
992
const result = s . toTarget ( wrapQueryData ( q ) ) ;
993
993
const expected = {
994
994
query : {
995
- parent : 'projects/p/databases/d' ,
995
+ parent : 'projects/p/databases/d/documents ' ,
996
996
structuredQuery : {
997
997
from : [ { collectionId : 'docs' } ] ,
998
998
where : {
@@ -1093,7 +1093,7 @@ describe('Serializer', () => {
1093
1093
const result = s . toTarget ( wrapQueryData ( q ) ) ;
1094
1094
const expected = {
1095
1095
query : {
1096
- parent : 'projects/p/databases/d' ,
1096
+ parent : 'projects/p/databases/d/documents ' ,
1097
1097
structuredQuery : {
1098
1098
from : [ { collectionId : 'docs' } ] ,
1099
1099
orderBy : [
@@ -1119,7 +1119,7 @@ describe('Serializer', () => {
1119
1119
const result = s . toTarget ( wrapQueryData ( q ) ) ;
1120
1120
const expected = {
1121
1121
query : {
1122
- parent : 'projects/p/databases/d' ,
1122
+ parent : 'projects/p/databases/d/documents ' ,
1123
1123
structuredQuery : {
1124
1124
from : [ { collectionId : 'docs' } ] ,
1125
1125
orderBy : [
@@ -1154,7 +1154,7 @@ describe('Serializer', () => {
1154
1154
const result = s . toTarget ( wrapQueryData ( q ) ) ;
1155
1155
const expected = {
1156
1156
query : {
1157
- parent : 'projects/p/databases/d' ,
1157
+ parent : 'projects/p/databases/d/documents ' ,
1158
1158
structuredQuery : {
1159
1159
from : [ { collectionId : 'docs' } ] ,
1160
1160
orderBy : [
@@ -1197,7 +1197,7 @@ describe('Serializer', () => {
1197
1197
) ;
1198
1198
const expected = {
1199
1199
query : {
1200
- parent : 'projects/p/databases/d' ,
1200
+ parent : 'projects/p/databases/d/documents ' ,
1201
1201
structuredQuery : {
1202
1202
from : [ { collectionId : 'docs' } ] ,
1203
1203
orderBy : [
0 commit comments