code: public static function insertOne($document, $connection)
      {
          $connection->query = self::singleDocument($document);
          return self::insert($connection);
      }
docs: Set query document to execute - Insert One.
  
  @param  array|object  $document
  @param  \stdClass $connection
  @return \Clusterpoint\Response\Single