зеркало из https://github.com/mozilla/gecko-dev.git
Implemented rowsAffected(), which will return the number of database rows that were affected by the last execution of the statement associated with the results frame.
This commit is contained in:
Родитель
00267aa804
Коммит
f5ec789f5f
|
@ -49,6 +49,11 @@ sub lastError {
|
|||
return $self->handle->err;
|
||||
}
|
||||
|
||||
sub rowsAffected {
|
||||
my $self = shift;
|
||||
return $self->handle->rows;
|
||||
}
|
||||
|
||||
sub row {
|
||||
my $self = shift;
|
||||
$self->assert($self->executed, 1, 'Tried to fetch data from an unexecuted statement');
|
||||
|
|
Загрузка…
Ссылка в новой задаче