Closed DreamerLiJinwen closed 4 years ago
function convertHexStringToNormal(str)
return (str:gsub(
"..",
function(cc)
return string.char(tonumber(cc, 16))
end
))
end
col:delete({_id = object_id.new(convertHexStringToNormal(id))}, 1, 0)
" col:delete({_id = "5ef858a7dca5d3bde95467fc"}, 1, 0) " , delete fail