1
Example, I have the following JSON:
{
Casa:'b32',
integrantes:{
pessoa: 'joao',
pessoa: 'Maria',
pessoa: 'Daniel'
}
}
When you enter it into the database it looks like this.
Apparently it is overwritten. I currently do this insertion by Delphi(), but the same occurs in Mongodb’s own console;
At Delphi:
oDoc: TMongoDocument;
oDoc.BeginObject('doc').Append(stringJson).EndObject;
collection.Insert(oDoc);
Is there any way to insert these duplicate objects into Json? I found nothing in Mongo’s documentation about this duplicity or insertion in this way.