public function getMongoDbAutoIncKey($collection = 'mongoinckeycol', $table = 'post')
{
$res = $this->runMongoCommand(['findandmodify' => $collection, 'update' => ['$inc' => ['id' => 1]], 'query' => ['table' => $table], 'new' => true]);
return intval($res[0]['value']['id']);
}