public function banIp($ip) { $this->connection ->merge('ban_ip') ->key('ip', $ip) ->fields([ 'ip' => $ip, ]) ->execute(); }