There is no "default". What do you mean by that? This is just a snippet of available methods, which should answer your question.
fetches the next row of data, returning an array reference with the field values
$sth->fetchrow_hashref
synonym for fetch.
$sth->fetchrow;
fetches the next row of data, returning an array with the field values.
$sth->fetchrow_array;
synonym for fetchrow.
It's just a synonym for another method. There is no default.
- wil
Code:
$sth->fetch; fetches the next row of data, returning an array reference with the field values
$sth->fetchrow_hashref
synonym for fetch.
$sth->fetchrow;
fetches the next row of data, returning an array with the field values.
$sth->fetchrow_array;
synonym for fetchrow.
It's just a synonym for another method. There is no default.
- wil