src/Query/Parser.php
public static function insertOne($document, $connection)
    {
        $connection->query = self::singleDocument($document);
        return self::insert($connection);
    }
public static function insertOne($document, $connection)
    {
        $connection->query = self::singleDocument($document);
        return self::insert($connection);
    }
public static function insertOne ( $ document , $ connection ) { $ connection -> query = self :: singleDocument ( $ document ) ; return self :: insert ( $ connection ) ; }
Set query document to execute - Insert One.

@param  array|object  $document
@param  \stdClass $connection
@return \Clusterpoint\Response\Single
Set query document to execute - Insert One .