Method: Mysql#refresh

Defined in:
ext/mysql_api/mysql.c

#refresh(r) ⇒ Object

refresh®



651
652
653
654
655
656
657
# File 'ext/mysql_api/mysql.c', line 651

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