public static function latest($limit = 1) { $data = static::find([], ['_id' => -1], $limit); return $limit == 1 ? $data->first() : $data; }