Команда ReQL: isEmpty
Синтаксис команды
sequence.isEmpty() → bool
Описание
Проверка, является ли последовательность пустой.
Пример: Есть ли какие-либо документы в таблице marvel?
r.table('marvel').isEmpty().run(conn, callback)
© RethinkDB contributors
Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
https://rethinkdb.com/api/javascript/is_empty/