result = client.execute("SELECT TOP (2000) node_id FROM [td].[node] WHERE (node_id = 220)")
puts result
if result.empty?
puts 'Node id could not found'
else
puts 'Node is found on the database'
end
运行此测试时出现错误:
undefined method `empty?' for #TinyTds::Result:0x0000002a06d90 (NoMethodError)