game/_incl_data/class/User/StatsModel.php

13 lines
213 B
PHP
Raw Normal View History

<?php
namespace User;
use Core\Db;
class StatsModel
{
public static function addRepexpById(int $id, int $val)
{
Db::sql('update stats set repexp = repexp + ? where id = ?', [$val, $id]);
}
}