diff --git a/crud/count.lua b/crud/count.lua index b79581cd..470bcce5 100644 --- a/crud/count.lua +++ b/crud/count.lua @@ -24,7 +24,7 @@ local count = {} local function count_on_storage(space_name, index_id, conditions, opts) dev_checks('string', 'number', '?table', { - scan_value = 'table', + scan_value = 'table|cdata', tarantool_iter = 'number', yield_every = '?number', scan_condition_num = '?number', diff --git a/crud/readview.lua b/crud/readview.lua index cb7c8c7f..d5ff6dd5 100644 --- a/crud/readview.lua +++ b/crud/readview.lua @@ -94,8 +94,8 @@ end local function select_readview_on_storage(space_name, index_id, conditions, opts) dev_checks('string', 'number', '?table', { - scan_value = 'table', - after_tuple = '?table', + scan_value = 'table|cdata', + after_tuple = '?table|cdata', tarantool_iter = 'number', limit = 'number', scan_condition_num = '?number',