Method: Mysql#refresh

Defined in:
ext/mysql.c

#refresh(r) ⇒ Object

refresh®



675
676
677
678
679
680
681
# File 'ext/mysql.c', line 675

static VALUE refresh(VALUE obj, VALUE r)
{
    MYSQL* m = GetHandler(obj);
    if (mysql_refresh(m, NUM2INT(r)) != 0)
  mysql_raise(m);
    return obj;
}