fixed: La modalità Tabella non funziona più ! (non si vede la lista dei movimenti)
This commit is contained in:
32
mongodb/Esempio.mongodb
Normal file
32
mongodb/Esempio.mongodb
Normal file
@@ -0,0 +1,32 @@
|
||||
use('test_FreePlanet');
|
||||
|
||||
let passo1 = [
|
||||
|
||||
]
|
||||
|
||||
let passo2 = [
|
||||
|
||||
]
|
||||
|
||||
let passo2b = [
|
||||
];
|
||||
|
||||
|
||||
let passo3 = [
|
||||
];
|
||||
|
||||
|
||||
let aggregation = [];
|
||||
|
||||
let test = false;
|
||||
|
||||
if (test) {
|
||||
aggregation = [...aggregation, ...passo4];
|
||||
} else {
|
||||
aggregation = [...aggregation, ...passo1];
|
||||
aggregation = [...aggregation, ...passo2];
|
||||
aggregation = [...aggregation, ...passo2b];
|
||||
aggregation = [...aggregation, ...passo3];
|
||||
}
|
||||
|
||||
db.users.aggregate(aggregation);
|
||||
Reference in New Issue
Block a user