Buscar

Considering the context presented, which statement is CORRECT? a. The use of ObjectIds for the _id field in MongoDB documents is not necessary. b....

Considering the context presented, which statement is CORRECT?

a. The use of ObjectIds for the _id field in MongoDB documents is not necessary.
b. The ObjectId() function returns the string hexadecimal representation of the object.
c. The ObjectId.getTimestamp() function returns the timestamp portion of the ObjectId() as a Date.
d. All MongoDB operations are atomic at the level of a single document.
a. The use of ObjectIds for the _id field in MongoDB documents is not necessary.
b. The ObjectId() function returns the string hexadecimal representation of the object.
c. The ObjectId.getTimestamp() function returns the timestamp portion of the ObjectId() as a Date.
d. All MongoDB operations are atomic at the level of a single document.

Essa pergunta também está no material:

Bancos de Dados Não Relacionais - Exercicios
27 pág.

Bancos de Dados Não Convencionais Pítagoras AmpliPítagoras Ampli

Respostas

User badge image

Ed Verified user icon

The correct statement is: "c. The ObjectId.getTimestamp() function returns the timestamp portion of the ObjectId() as a Date."

0
Dislike0

Responda

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image