Answer the question
In order to leave comments, you need to log in
How to make history in Mongodb...SQL?
There is a collection of invoices, with documents of this type:
{
name: "Bank",
summ: 1000
}
Answer the question
In order to leave comments, you need to log in
Are there any triggers that, for example, push each first number into the history array, the current date and the amount?This can be done with cron. But there's no point.
Theoretical part:
About SQL: The SQL:2011 Standard, Tools for Temporal Databases . While not supported by all vendors, but can be taken as a basis for writing a bicycle.
I won’t say much about Mongo, look at this:
https://github.com/thiloplanz/v7files/wiki/Vermongo
https://github.com/saintedlama/mongoose-version
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question