L
L
Lane Cube2020-06-19 00:34:14
MongoDB
Lane Cube, 2020-06-19 00:34:14

How to create a calculated field in mongodb?

There is data:
{
Field1:3
Field2:55
Field3:32
}
We get the record and there are additional fields with operations performed
{
Field1:3
Field2:55
Field3:32
Sum:90
Division1 by 2: 0.054
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question