Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/mongodb/lib/operations/delete_many.js
Назад
'use strict'; const OperationBase = require('./operation').OperationBase; const deleteCallback = require('./common_functions').deleteCallback; const removeDocuments = require('./common_functions').removeDocuments; class DeleteManyOperation extends OperationBase { constructor(collection, filter, options) { super(options); this.collection = collection; this.filter = filter; } execute(callback) { const coll = this.collection; const filter = this.filter; const options = this.options; options.single = false; removeDocuments(coll, filter, options, (err, r) => deleteCallback(err, r, callback)); } } module.exports = DeleteManyOperation;
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка