How can PHP7 insert data into mongodb, to determine whether it is successful or not?

$Manage- > executeBulkWrite (); cannot judge the value returned by this method. What"s going on

Aug.18,2021

reference documentation: http://php.net/manual/en/mong.

Returns MongoDBDriverWriteResult on success.

you can refer to the example below in the above documentation.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3658c-2c012.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3658c-2c012.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?