Phalcon\Db\Adapter\MongoDB\InsertOneResult::getInsertedId PHP 메소드

getInsertedId() 공개 메소드

If the document already an ID prior to insertion (i.e. the driver did not need to generate an ID), this will contain its "_id". Any driver-generated ID will be an MongoDB\BSON\ObjectID instance.
public getInsertedId ( ) : mixed
리턴 mixed
    public function getInsertedId()
    {
        return $this->insertedId;
    }