db_affected_rows

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

includes/database.mysql.inc, строка 195

Версии
5 – 6
db_affected_rows()

Возвращает количество записей, изменённых предыдущим запросом.

Связанные темы

▾ 11 функции вызывают db_affected_rows()

filter_list_format in modules/filter/filter.module
Возвращает список форматов ввода для выбранного формата.
node_type_update_nodes in modules/node/node.module
Updates all nodes of one type to be of another type.
openid_user_delete_form_submit in modules/openid/openid.pages.inc
search_index in modules/search/search.module
Обновляет полнотекстовый поисковый индекс для указанного элемента.
search_update_totals in modules/search/search.module
This function is called on shutdown to ensure that search_total is always up to date (even if cron times out or otherwise fails).
sess_write in includes/session.inc
statistics_exit in modules/statistics/statistics.module
Implementation of hook_exit().
system_update_6038 in modules/system/system.install
Ensure that 'Account' is not used as a Profile category.
user_set_authmaps in modules/user/user.module
Save mappings of which external authentication module(s) authenticated a user. Maps external usernames to user ids in the users table.
variable_set in includes/bootstrap.inc
Устанавливает постоянную переменную.
_update_cache_set in modules/update/update.module
Хранение данных в индивидуальной таблице кэша обновления статуса.

Код

<?php
function db_affected_rows() {
  global $active_db;
  return mysql_affected_rows($active_db);
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему